Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. File Ingestion and Replication REST API
  7. Streaming Ingestion and Replication REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

Getting all tokens for an organization

Getting all tokens for an organization

If you have Kubernetes DevOps engineers privileges, you can list all the tokens for the organization.

GET request

To list all tokens for the organization, use the following URI:
/public/core/v3/containerImageToken
Include the following parameter:
Parameter
Type
Description
orgId
String
Organization ID to see the generated tokens.
The following table lists the potential error codes for a request:
HTTP status code
Description
401
Unauthenticated or unauthorized.
403
Privilege get.k8s.repository.token is required for accessing this API.

GET response

If successful, a list of all the tokens for the organization is returned.

GET response examples

To list available images for download, use the following request:
GET <baseApiUrl>/public/core/v3/containerImageToken Content-type: application/json Accept: application/json INFA-SESSION-ID: <SessionId>
If successful, you might receive a "200 OK" response like the following example:
[ { "orgId": "52ZSTB0IDK6dXxaEQLUaQu", "userId": "admin", "tokenId": "<token ID>", "expirationTime": "2022-10-31T07:06:59.000Z" }, { "orgId": "52ZSTB0IDK6dXxaEQLUaQu", "userId": "admin", "tokenId": "<token ID>", "expirationTime": "2022-10-31T07:06:59.000Z" } ]
If you have insufficient privileges, you might receive a "403 Forbidden" response like the following example:
{ "error": { "code": "AIS_007", "message": "Privilege - view.k8s.agent.config required for accessing this API.", "debugMessage": "Privilege - view.k8s.agent.config required for accessing this API.", "requestId": "l2EpwkFoqkEjrEJURclPw2", "details": null } }

0 COMMENTS

We’d like to hear from you!