OpenAPI
GitCode API GitCode GitCode API API
API
GitCode API api API /api/v5
GitCode API
curl "https://api.gitcode.com/api/v5/users/{username}"
GitCode API
GitCode 401
{
"message": "401 Unauthorized"
}
Authorization
Authorization API
curl --location 'https://api.gitcode.com/api/v5/user' \
--header 'Authorization: Bearer {your-token}'
PRIVATE-TOKEN
PRIVATE-TOKEN API
curl --location 'https://api.gitcode.com/api/v5/user' \
--header 'PRIVATE-TOKEN: {your-token}'
access_token
access_token query API
query
curl "https://api.gitcode.com/api/v5/users/{username}?access_token={your-token}"
GitCode API
GitCode API
GET | JSON |
POST | 201 Created JSON |
GET / PUT | 200 OK JSON |
DELETE | 204 No Content 202 Accepted |
GitCode API
200 OK | GETPUT DELETE JSON |
201 Created | POST JSON |
202 Accepted | GETPUT DELETE |
204 No Content | |
301 Moved Permanently | Location URL |
304 Not Modified | |
400 Bad Request | API |
401 Unauthorized | |
403 Forbidden | |
404 Not Found | ID |
405 Method Not Allowed | |
409 Conflict | |
412 Precondition Failed | If-Unmodified-Since |
418 I'm a teapot | |
422 Unprocessable | |
429 Too Many Requests | 400/4000/ |
500 Server Error | |
503 Service Unavailable | |
504 Time Out |