Document GetExternalIds / DeleteExternalIds classes
Change-Id: I0f1253050f662aebad808bd246dab4056881bf42 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
committed by
David Pursehouse
parent
4c8e82fd11
commit
2b9f4256ed
@@ -44,6 +44,12 @@ import java.util.Optional;
|
||||
import java.util.function.Function;
|
||||
import org.eclipse.jgit.errors.ConfigInvalidException;
|
||||
|
||||
/**
|
||||
* REST endpoint to delete external IDs from an account.
|
||||
*
|
||||
* <p>This REST endpoint handles {@code POST /accounts/<account-identifier>/external.ids:delete}
|
||||
* requests.
|
||||
*/
|
||||
@Singleton
|
||||
public class DeleteExternalIds implements RestModifyView<AccountResource, List<String>> {
|
||||
private final PermissionBackend permissionBackend;
|
||||
|
||||
@@ -39,6 +39,11 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* REST endpoint to get the external IDs of an account.
|
||||
*
|
||||
* <p>This REST endpoint handles {@code GET /accounts/<account-identifier>/external.ids} requests.
|
||||
*/
|
||||
@Singleton
|
||||
public class GetExternalIds implements RestReadView<AccountResource> {
|
||||
private final PermissionBackend permissionBackend;
|
||||
|
||||
Reference in New Issue
Block a user