Returning expired revisions from Tealium IQ API

cvenigalla
New Member
cvenigalla

Hi Tealium Support,

I am new for Tealium IQ API and still learning. I am using Tealium IQ API (https://community.tealiumiq.com/t5/Tealium-API/Getting-Started/ta-p/14357) and following the docs. I am able to generate API key and fetch the revisions as documented (please refer API's being used below). However the API returns revisions that are deleted all the time . When i try to fetch 'details' API, i am getting response as 'That revision details does not exist'.

 

Steps to reproduce:

1. Execute cURL for fetching API key:

curl -X POST \
https://api.tealiumiq.com/v2/auth \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username={email}' \
--data-urlencode 'key={api_key}'

2. Fetch revisions API: Append API key as a 'Authorization' header to 'Revisions' API (cURL below). I have gotten revisions however all of those revisions are exipired or deleted

curl -H 'Authorization: Bearer {token}' \
https://api.tealiumiq.com/v2/manifest/accounts/{account}/profiles/{profile}/revisions

3. Fetch details API: Append API key as a 'Authorization' header and {revision_id}from #2 above to 'Revision details' API (cURL below) and getting below error

curl -H 'Authorization: Bearer {token}' \
https://api.tealiumiq.com/v2/manifest/accounts/{account}/profiles/{profile}/revisions/{revision_id}/details

Error:

{
"returnCode": 1260,
"message": "That revision details does not exist"
}

 

Question:

1. Why Revisions API in step #2 above returns deleted or doesn't exist revisions ?

Thanks,

Chandu