openapi: 3.2.0 info: title: Adobe Analytics Cloud Locations Analytics Cloud Locations Location API description: Adobe Analytics Cloud Locations API version: v2 servers: - url: https://analytics.adobe.io/api tags: - name: Analytics Cloud Locations Location API description: The analytics Cloud Locations Location API for user token paths: /{globalCompanyId}/cloud_locations/analytics/exportlocations/location: get: tags: - Analytics Cloud Locations Location API summary: Get all Cloud Locations for a given global company id operationId: getLocations 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: accountUuid in: query description: account uuid schema: type: string - name: createdBy in: query description: created user name schema: type: string - name: application in: query description: Application name schema: type: string responses: '400': description: Bad Request - Unable to get Cloud Location. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/LocationResponsePage' security: - x-user-auth: [] post: tags: - Analytics Cloud Locations Location API summary: Create a new Cloud Location operationId: createLocation requestBody: content: application/json: schema: $ref: '#/components/schemas/LocationRequest' responses: '400': description: Bad Request - Unable to create Cloud Location. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/LocationResponse' security: - x-user-auth: [] /{globalCompanyId}/cloud_locations/analytics/exportlocations/location/{UUID}: get: tags: - Analytics Cloud Locations Location API summary: Get a specific Cloud Location operationId: getLocation 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: Bad Request - Unable to get Cloud Location. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/LocationResponse' security: - x-user-auth: [] put: tags: - Analytics Cloud Locations Location API summary: Update a specific Cloud Location operationId: updateLocation 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/LocationRequest' responses: '400': description: Bad Request - Unable to update Cloud Location. content: application/json: schema: $ref: '#/components/schemas/AnalyticsAsrErrorResponse' '200': content: application/json: schema: $ref: '#/components/schemas/LocationResponse' security: - x-user-auth: [] delete: tags: - Analytics Cloud Locations Location API summary: Delete a specific Cloud Location operationId: deleteLocation 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 Location 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 LocationResponse: properties: shared: type: boolean lastModifiedDate: type: string format: date-time accountUuid: type: string description: type: string type: type: string applicationTag: type: string uuid: type: string createdDate: type: string format: date-time deleted: type: boolean application: type: string enum: - TAXONOMIST - DATA_WAREHOUSE - DATA_FEED createdBy: type: string name: type: string modifiedBy: type: string globalCompanyId: type: string properties: $ref: '#/components/schemas/ObjectNode' LocationRequest: type: object properties: type: type: string accountUuid: type: string properties: $ref: '#/components/schemas/ObjectNode' name: type: string description: type: string application: type: string enum: - TAXONOMIST - DATA_WAREHOUSE - DATA_FEED applicationTag: type: string sharedTo: type: string ExportLocationDeleteResponse: properties: message: type: string uuid: type: string AnalyticsAsrErrorResponse: properties: errorDescription: type: string errorCode: type: string errorId: type: string LocationResponsePage: properties: number: type: integer format: int32 size: type: integer format: int32 numberOfElements: type: integer format: int32 last: type: boolean totalPages: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/LocationResponse' first: type: boolean totalElements: type: integer format: int64 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