openapi: 3.2.0 info: title: Adobe Analytics Cloud Locations Analytics Cloud Locations Account API description: Adobe Analytics Cloud Locations API version: v2 servers: - url: https://analytics.adobe.io/api tags: - name: Analytics Cloud Locations Account API description: The analytics Cloud Locations account API for user token paths: /{globalCompanyId}/cloud_locations/exportlocations/account/cloudAccount/s3_role_arn: get: tags: - Analytics Cloud Locations Account API summary: Get S3 user arn for S3 role arn account type operationId: getS3UserArn responses: '400': description: Unable to get S3 user arn content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/UserArnResponse' security: - x-user-auth: [] /{globalCompanyId}/cloud_locations/analytics/exportlocations/account: get: tags: - Analytics Cloud Locations Account API summary: Get all Cloud Locations Accounts for a global company id operationId: getAccounts parameters: - name: globalCompanyId in: path description: The Global Company ID for the Adobe Analytics organization required: true schema: type: string - $ref: '#/components/parameters/authorization' - $ref: '#/components/parameters/x-api-key' - name: createdBy in: query description: created user name schema: type: string - name: type in: query description: Type schema: type: string enum: - ftp - sftp - gcp - azure - azure_rbac - azure_sas - s3 - s3_role_arn - email responses: '400': description: Unable to get Cloud Locations Account. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/AccountResponsePage' security: - x-user-auth: [] post: tags: - Analytics Cloud Locations Account API summary: Create a new Cloud Locations Account operationId: createAccount requestBody: content: application/json: schema: $ref: '#/components/schemas/AccountRequest' responses: '400': description: Bad Request - Unable to create Cloud Locations Account. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/AccountResponse' security: - x-user-auth: [] /{globalCompanyId}/cloud_locations/analytics/exportlocations/account/{UUID}: get: tags: - Analytics Cloud Locations Account API summary: Get a specific Cloud Locations Account operationId: getAccount parameters: - name: globalCompanyId in: path description: The Global Company ID for the Adobe Analytics organization required: true schema: type: string - $ref: '#/components/parameters/authorization' - $ref: '#/components/parameters/x-api-key' - name: UUID in: path required: true schema: type: string responses: '400': description: Unable to get Cloud Locations Account. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/AccountResponse' security: - x-user-auth: [] put: tags: - Analytics Cloud Locations Account API summary: Update a specific Cloud Locations Account operationId: updateAccount parameters: - name: globalCompanyId in: path description: The Global Company ID for the Adobe Analytics organization required: true schema: type: string - $ref: '#/components/parameters/authorization' - $ref: '#/components/parameters/x-api-key' - name: UUID in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/AccountRequest' responses: '400': description: Bad Request - Unable to update Cloud Locations Account. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/AccountResponse' security: - x-user-auth: [] delete: tags: - Analytics Cloud Locations Account API summary: Delete a specific Cloud Locations Account operationId: deleteAccount parameters: - name: globalCompanyId in: path description: The Global Company ID for the Adobe Analytics organization required: true schema: type: string - $ref: '#/components/parameters/authorization' - $ref: '#/components/parameters/x-api-key' - name: UUID in: path required: true schema: type: string responses: '404': description: Cloud Locations Account NOT found content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/ExportLocationDeleteResponse' security: - x-user-auth: [] components: schemas: ObjectNode: type: object AccountRequest: type: object properties: type: type: string secret: type: string accountProperties: $ref: '#/components/schemas/ObjectNode' name: type: string description: type: string sharedTo: type: string ExportLocationDeleteResponse: properties: message: type: string uuid: type: string UserArnResponse: properties: userARN: type: string AccountResponse: properties: accountProperties: $ref: '#/components/schemas/ObjectNode' shared: type: boolean createdDate: type: string format: date-time createdBy: type: string lastModifiedDate: type: string format: date-time name: type: string description: type: string modifiedBy: type: string secret: type: string type: type: string uuid: type: string AccountResponsePage: type: object properties: content: type: array items: $ref: '#/components/schemas/AccountResponse' number: type: integer format: int32 size: type: integer format: int32 totalPages: type: integer format: int32 totalElements: type: integer format: int64 numberOfElements: type: integer format: int32 first: type: boolean last: type: boolean AnalyticsAsrErrorResponse: properties: errorDescription: type: string errorCode: type: string errorId: type: string parameters: authorization: name: Authorization in: header description: The access token copied from your AA API client integration, prefixed with "Bearer ". required: true schema: type: string x-api-key: name: x-api-key in: header description: The API key copied from your AA API client integration. For more information on how to obtain this value, see [Getting started with the CJA API](https://developer.adobe.com/cja-apis/docs/getting-started/). required: true schema: type: string securitySchemes: x-user-auth: type: apiKey description: IMS user token name: x-user-auth in: header