auth

List Pending Access Requests

Changed on

List all pending access requests. Requires manager or admin role.

get/bodhi/v1/access-requests/pending

Request

  • Base URL: http://localhost:1135
  • URL: http://localhost:1135/bodhi/v1/access-requests/pending
  • Auth: OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_manager)

Query parameters

pageinteger

Page number (1-based indexing)

page_sizeinteger

Number of items to return per page (maximum 100)

sortstring

Field to sort by. Common values: repo, filename, size, updated_at, snapshot, created_at

sort_orderstring

Sort order: 'asc' for ascending, 'desc' for descending

Response

Pending requests retrieved

totalinteger required

Total number of requests

pageinteger required

Current page number

page_sizeinteger required

Number of items per page

Example response

{
  "page": 1,
  "page_size": 20,
  "requests": [
    {
      "created_at": "2024-01-01T12:00:00Z",
      "id": "01HXXXXXX",
      "status": "pending",
      "updated_at": "2024-01-01T12:00:00Z",
      "user_id": "auth0|123",
      "username": "user@example.com"
    }
  ],
  "total": 1
}

Changes

    • breaking

      removed 'propertyNames' constraint from the / response property for the status

    • breaking

      removed 'propertyNames' constraint from the / response property for the status

    • breaking

      removed 'propertyNames' constraint from the / response property for the status

    • breaking

      removed 'propertyNames' constraint from the / response property for the status

    • breaking

      the / response's property type changed from object null to string null for status

    • breaking

      the / response's property type changed from object null to string null for status

    • breaking

      the / response's property type changed from object null to string null for status

    • breaking

      the / response's property type changed from object null to string null for status

    • info

      added the optional property / to 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

    • info

      added the optional property / to the response with the status