Skip to main content
GET
/
v2
/
vault
/
cache
/
status
Get cache status for a connection
curl --request GET \
  --url https://api-next.ofauth.com/v2/vault/cache/status \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <x-connection-id>'
{
  "connectionId": "<string>",
  "totalMedia": 123,
  "cachedCount": 123,
  "pendingCount": 123,
  "totalSizeBytes": 123
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required
Minimum string length: 1

Response

Cache status

connectionId
string
required
totalMedia
number
required
cachedCount
number
required
pendingCount
number
required
totalSizeBytes
number
required