Skip to main content
POST
/
v1
/
subjects
/
{subject_type}
/
{subject_id}
/
refresh-requests
/
{request_id}
/
fulfill
Fulfill a refresh request
curl --request POST \
  --url https://tally-platform-api-xwka6vu2kq-ue.a.run.app/v1/subjects/{subject_type}/{subject_id}/refresh-requests/{request_id}/fulfill \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "snapshot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "refresh_request": {
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "subject_type": "<string>",
    "subject_id": "<string>",
    "requesting_tenant_id": "<string>",
    "reason_code": "<string>",
    "message": "<string>",
    "requested_paths": [
      "<string>"
    ],
    "fulfilled_snapshot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "fulfilled_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Firebase Auth JWT issued by Google Identity Platform. Obtain a token by signing in at your app domain and calling firebase.auth().currentUser.getIdToken().

Path Parameters

subject_type
enum<string>
required

Subject type discriminator.

Available options:
entity,
individual
subject_id
string
required

Stable subject identifier within its type namespace.

request_id
string<uuid>
required

Body

application/json
snapshot_id
string<uuid>
required

The snapshot that satisfies this request.

Response

Request fulfilled.

refresh_request
object