Retrieve an API tracking log

Request

Retrieves an API tracking log record with a specified ID.
Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required
ID of the resource.
curl -i -X GET \
  'https://www.rebilly.com/_mock/catalog/all/tracking/api/{id}' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Tracking API log retrieved.
Bodyapplication/json
idstring, <= 50 characters(ResourceId)
Unique resource ID.
Example:"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
statusinteger
Response code of the HTTP request.
urlstring
URL of the HTTP request.
routestring
API request route.
Example:"/customers/{param}"
methodstring
HTTP method of the API request.
Enum:"HEAD""GET""POST""PUT""DELETE""PATCH"
requeststring
Request body of the HTTP request.
responsestring
Response body of the HTTP request.
requestHeadersobject(HttpHeaders)
HTTP headers.
Example:
{ "Content-Type": "application/json", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }
responseHeadersobject(HttpHeaders)
HTTP headers.
Example:
{ "Content-Type": "application/json", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }
userobjectread-only
User who made the request.
authenticationMethodstring or nullread-only

Authentication method of the API request. This value is null if the request is unauthenticated.

Enum ValueDescription
secret-api-key
Secret API key.
signature

Request signed with a secret API key in the REB-AUTH header.

jwt-user

JSON Web Token (JWT) of a user.

jwt-customer
JWT of a customer.
publishable-key
Publishable API key.
jwt-guest
JWT of a guest session.
jwt-application
JWT of an application instance.
jwt-service-account
JWT of a service account.
null
Unauthenticated request.
ipAddressstring
Client IP address.
relatedResourceIdsArray of stringsread-only
IDs of related resources.
Example:
[ "in_0YVF9605RKC62BP14NE2R7V2XT", "cus_0YV7DDSDD1C8DA64KHH2W33CPF" ]
durationinteger
Request duration in milliseconds.
organizationIdstring, <= 50 characters(OrganizationId)

Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.

Example:"org_0YVDM8RC7GDADADSBSMW124JA8"
createdTimestring, (date-time)(CreatedTime)read-only
Date and time when the resource is created. This value is set automatically when the resource is created.
updatedTimestring, (date-time)read-only
Date and time when the resource is updated. This value is set automatically when the resource is updated.
_embeddedobjectread-only

Embedded objects that are requested by the expand query parameter.

Response
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "status": 0, "url": "string", "route": "/customers/{param}", "method": "HEAD", "request": "string", "response": "string", "requestHeaders": { "Content-Type": "application/json", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }, "responseHeaders": { "Content-Type": "application/json", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }, "user": { "userId": "usr_0YVCEENYJ3D7Q9EN6BN16HA0G4", "apiKeyId": "api_key_0YV7JQMY6ED2FBE58BMFHBWBZH", "email": "user@example.com", "firstName": "string", "lastName": "string", "ipAddress": "192.168.0.1", "userAgent": "string", "fingerprint": "string", "isSupport": true }, "authenticationMethod": "secret-api-key", "ipAddress": "string", "relatedResourceIds": [ "in_0YVF9605RKC62BP14NE2R7V2XT", "cus_0YV7DDSDD1C8DA64KHH2W33CPF" ], "duration": 0, "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ], "_embedded": { "organization": {} } }