This repository was archived by the owner on Apr 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
API Reference Resources
vsts build edited this page Mar 13, 2018
·
45 revisions
Operations for managing clients
POST /v1/Clients
| Type | Name | Description | Schema |
|---|---|---|---|
| Body |
Client required |
The client to register | ClientApiModel |
| HTTP Code | Description | Schema |
|---|---|---|
| 201 | Created | ClientApiModel |
| 400 | Client object in body failed validation | Error |
| 403 | Client does not have access | No Content |
| 409 | Client with specified id already exists | Error |
| 415 | Content-Type header was not included in request | Error |
| Type | Name | Scopes |
|---|---|---|
| Unknown | Oauth2 | fabric/authorization.write,fabric/authorization.manageclients |
GET /v1/Clients
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ClientApiModel |
| 403 | Client does not have access | No Content |
| Type | Name | Scopes |
|---|---|---|
| Unknown | Oauth2 | fabric/authorization.read,fabric/authorization.manageclients |
GET /v1/Clients/{clientid}
| Type | Name | Description | Schema |
|---|---|---|---|
| Path |
clientid required |
ClientId to use for the request | integer |
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | Client found | ClientApiModel |
| 403 | Client does not have access | No Content |
| 404 | Client with specified id was not found | Error |
| Type | Name | Scopes |
|---|---|---|
| Unknown | Oauth2 | fabric/authorization.read,fabric/authorization.manageclients |
DELETE /v1/Clients/{clientid}
| Type | Name | Description | Schema |
|---|---|---|---|
| Path |
clientid required |
ClientId to use for the request | integer |
| HTTP Code | Description | Schema |
|---|---|---|
| 204 | Client deleted | No Content |
| 403 | Client does not have access | No Content |
| 404 | Client with specified id was not found | Error |
| Type | Name | Scopes |
|---|---|---|
| Unknown | Oauth2 | fabric/authorization.write,fabric/authorization.manageclients |
Operations for managing groups