List API Tokens
Changed onRetrieves paginated list of API tokens owned by the current user. Includes token metadata but not the actual token values for security.
Security Note: Session-only authentication required to prevent information disclosure via tokens.
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/tokens
- Auth: OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)
Query parameters
Page number (1-based indexing)
Number of items to return per page (maximum 100)
Field to sort by. Common values: repo, filename, size, updated_at, snapshot, created_at
Sort order: 'asc' for ascending, 'desc' for descending
Response
List of API tokens
Changes
- warning
removed the optional property
////////from the response with the status - warning
removed the optional property
////////from the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status
- warning
- info
removed
subschema #2from the////////response propertyoneOflist for the response status
- info