Entry - Huddle/huddle-apis GitHub Wiki

Summary

/entry is the API entry point. For an authenticated request, it redirects to the current user's resource (/users/{id}).

This endpoint does not return a links payload directly; clients should follow the redirect target.

Operations

Method Path Purpose Details
GET /entry Resolve API entry point (redirect to current user) Jump

Retrieve Available APIs

Uses the authenticated user details to resolve the caller's user resource.

Example

GET /entry HTTP/1.1
Authorization: Bearer frootymcnooty/vonbootycherooty

Response Link relations

/entry itself returns a redirect response /users/{userId}. Link relations are available on the returned User resource after following the Location header.

Other Responses

Refer to General HTTP Status Codes.

Below are responses related to this resource:

Case Response
Invalid authorization token 401 Unauthorized