How do I call the account_credentials endpoints over HTTP?

Table of Contents

This file documents the account_credentials resource over HTTP, one section per endpoint. Every section exports its own Hurl file into projects/ores.http/scripts/library/. Running a file sends that one request, so a failure names the endpoint it came from.

1. Endpoints

1.1. GET /api/v1/auth/account_credentials

List account credentials. It needs a session.

It forwards to iam.v1.account_credentials.list.

The request is:

GET /api/v1/auth/account_credentials
GET {{base_url}}/api/v1/auth/account_credentials
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.2. GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000

Get one account credential. It needs a session.

It forwards to iam.v1.account_credentials.get.

The request is:

GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000
GET {{base_url}}/api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.3. POST /api/v1/auth/account_credentials/get-many

Get many account credentials. It needs a session.

It forwards to iam.v1.account_credentials.get_many.

The request is:

POST /api/v1/auth/account_credentials/get-many
POST {{base_url}}/api/v1/auth/account_credentials/get-many
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.4. GET /api/v1/auth/account_credentials/by-account-id/__none__

List the account credentials that reference one account id. It needs a session.

It forwards to iam.v1.account_credentials.list_by_account_id.

The request is:

GET /api/v1/auth/account_credentials/by-account-id/__none__
GET {{base_url}}/api/v1/auth/account_credentials/by-account-id/__none__
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.5. GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions

List the recorded versions of one account credential. It needs a session.

It forwards to iam.v1.account_credentials_versions.list.

The request is:

GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions
GET {{base_url}}/api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

1.6. GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions/0

Get one recorded version of one account credential. It needs a session.

It forwards to iam.v1.account_credentials_versions.get.

The request is:

GET /api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions/0
GET {{base_url}}/api/v1/auth/account_credentials/00000000-0000-0000-0000-000000000000/versions/0
Accept: application/json
Authorization: Bearer {{token}}
HTTP 200

Emacs 29.3 (Org mode 9.6.15)