Entry - Huddle/huddle-apis GitHub Wiki

Summary

Shows all APIs available for the current authenticated user.

Status

Operation Status
Retrieve available APIs Alpha

Operations

Retrieve Available APIs

Uses the authenticated user details to get all the APIs available to the user.

Example

GET /entry HTTP/1.1
Accept: application/json
Authorization: Bearer frootymcnooty/vonbootycherooty

Example response:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "links": [
        {"rel": "user", "href": "/user/123"},
        {"rel": "workspaces", "href": "/workspaces"}
    ]
}

Response Link relations

Name Description Methods
user The URI of current authenticated user. GET
workspaces The URI to get all workspaces the current authenticated user is authorised to access GET

Other Responses

Refer to General HTTP Status Codes.

Below are responses related to this resource:

Case Response
Invalid authorization token 401 Unauthorized