openapi: 3.2.0 info: title: Reactor Builds API description: "Use the Reactor API to programmatically manage resources and develop tag extensions in Adobe Experience Platform.\n**Related documentation**:\n * [Tags overview and UI documentation](https://adobe.com/go/launch_help_en)\n * [Reactor API guides](https://adobe.com/go/reactor-api-overview)\n\n**API paths**:\n * Reactor Gateway URL: https://reactor.adobe.io\n * Example of a complete path for making a call to `/properties`: https://reactor.adobe.io/properties\n\n**Required headers**:\n * All calls require the headers `Authorization`, `x-gw-ims-org-id`, and `x-api-key`. For more information on how to obtain these values, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en).\n * All GET requests to the Reactor API require an `Accept` header to determine what data is returned by the system. In most cases, this value will be `application/vnd.api+json;revision=#` (where `#` is the revision number of the resource you want to retrieve, e.g. `1`).\n * All requests with a payload in the request body (such as POST, PUT, and PATCH calls) must include the header `Content-Type`. The specific `Content-Type` value for each call is provided in the parameters sections in the endpoints listed below.\n\n- **API error handling**:\n - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#request-header-errors)." version: '1.0' servers: - url: //reactor.adobe.io tags: - name: Builds description: A tag library is compiled into a build in order for it to be assigned to an environment for testing and deployment. The contents of a build varies depending on the resources included in the library, the configuration of the environment to which the build is assigned, and the platform of the property that the build belongs to. paths: /libraries/{LIBRARY_ID}/builds: get: tags: - Builds summary: List a library's builds description: '>**NOTE**: For more information on using this operation, see the [builds endpoint guide](https://experienceleague.adobe.com/docs/experience-platform/tags/api/endpoints/builds.html) on Experience League.' operationId: listLibraryBuilds parameters: - name: LIBRARY_ID in: path description: The ID of the library whose builds you want to list. required: true schema: type: string - name: Authorization in: header description: The access token generated using your Organization ID, Client ID, and JavaScript Web Token (JWT), prefixed with `bearer`. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-api-key in: header description: The Client ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-gw-ims-org-id in: header description: The Organization ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: Accept in: header description: All GET requests must include this header with the value of `application/vnd.api+json;revision=#` (where `#` is the revision number of the resource you want to retrieve, e.g. `1`). required: true schema: type: string - name: page[size] in: query description: Limits the number of results per page (for example, `page[size]=50`). Can be used in conjunction with `page[number]` to manage response pagination. schema: maximum: 100 type: integer default: 25 - name: page[number] in: query description: 'The page index to return for the listing response (for example, `page[number]=2`). Can be used in conjunction with `page[size]` to manage response pagination. >**NOTE**: Responses for listing calls contain a `meta.pagination` object which contains the indexes for the current, previous, and next pages in the response. To access these pages, use their index values for this parameter in subsequent API calls.' schema: type: integer default: 1 - name: created_at in: query description: Filter by `created_at` timestamp. schema: type: string - name: updated_at in: query description: Filter by `updated_at` timestamp. schema: type: string - name: status in: query description: Filter by `status`. schema: type: string - name: token in: query description: Filter by `token`. schema: type: string responses: '200': x-summary: Success description: A successful response returns an array of builds belonging to the specified library. content: application/vnd.api+json: schema: $ref: '#/components/schemas/buildsListResponse' post: tags: - Builds summary: Create a build description: 'This POST request does not accept a payload, as the build parameters are determined by the parent library. >**NOTE**: For more information on using this operation, see the [builds endpoint guide](https://experienceleague.adobe.com/docs/experience-platform/tags/api/endpoints/builds.html) on Experience League.' operationId: createBuild parameters: - name: LIBRARY_ID in: path description: The ID of the library that you want to create a build for. required: true schema: type: string - name: Authorization in: header description: The access token generated using your Organization ID, Client ID, and JavaScript Web Token (JWT), prefixed with `bearer`. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-api-key in: header description: The Client ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-gw-ims-org-id in: header description: The Organization ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string responses: '201': x-summary: Success description: A successful response returns the details of the newly created build. content: application/vnd.api+json: schema: $ref: '#/components/schemas/buildsCreateResponse' /builds/{BUILD_ID}: get: operationId: getBuild tags: - Builds summary: Look up a build by ID. description: '>**NOTE**: For more information on using this operation, see the [builds endpoint guide](https://experienceleague.adobe.com/docs/experience-platform/tags/api/endpoints/builds.html) on Experience League.' parameters: - name: BUILD_ID in: path description: The ID of the build you want to look up. required: true schema: type: string - name: Authorization in: header description: The access token generated using your Organization ID, Client ID, and JavaScript Web Token (JWT), prefixed with `bearer`. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-api-key in: header description: The Client ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-gw-ims-org-id in: header description: The Organization ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: Accept in: header description: All GET requests must include this header with the value of `application/vnd.api+json;revision=#` (where `#` is the revision number of the resource you want to retrieve, e.g. `1`). required: true schema: type: string responses: '200': x-summary: Success description: A successful response returns the details of the build. content: application/vnd.api+json: schema: $ref: '#/components/schemas/buildsLookupResponse' patch: tags: - Builds summary: Republish a build description: 'When republishing a build, its ID must be provided in both the request path and the request payload. These IDs must match in order for the call to be successful. >**NOTE**: For more information on using this operation, see the [builds endpoint guide](https://experienceleague.adobe.com/docs/experience-platform/tags/api/endpoints/builds.html) on Experience League.' operationId: republishBuild parameters: - name: BUILD_ID in: path description: The ID of the build you want to republish. required: true schema: type: string - name: Authorization in: header description: The access token generated using your Organization ID, Client ID, and JavaScript Web Token (JWT), prefixed with `bearer`. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-api-key in: header description: The Client ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: x-gw-ims-org-id in: header description: The Organization ID which can be copied from Adobe Developer Console. For more information on how to obtain this value, see the [authentication tutorial](http://www.adobe.com/go/launch-authentication-en). required: true schema: type: string - name: Accept in: header description: All GET requests must include this header with the value of `application/vnd.api+json;revision=#` (where `#` is the revision number of the resource you want to retrieve, e.g. `1`). required: true schema: type: string requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/buildsUpdatePayload' required: true responses: '200': x-summary: Success description: A successful response returns the details of the build. content: application/vnd.api+json: schema: $ref: '#/components/schemas/buildsUpdateResponse' x-codegen-request-body-name: body components: schemas: relatedProperty: type: object properties: property: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the related property for the resource. description: Contains a `related` link that can be used in a subsequent API call to fetch the related property for the resource. data: type: object properties: id: type: string description: The unique ID of the property. type: type: string description: The resource type for the property (`properties`). description: Contains further information about the related property. description: Contains details about the property that owns the resource. relatedExtensions: type: object properties: extensions: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the related extensions for the resource. description: Contains a `related` link that can be used in a subsequent API call to fetch the related extensions for the resource. description: Contains a link to the related extensions for the resource. relatedLibrary: type: object properties: library: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the library. description: Contains a `related` link that can be used in a subsequent API call to fetch the library. data: type: object properties: id: type: string description: The unique ID of the library. type: type: string description: The resource type for the library (`libraries`). description: Contains further information about the library. description: Contains a link to the library that is assigned to this environment. buildsUpdateResponse: allOf: - $ref: '#/components/schemas/buildsLookupResponse' dataLookup: type: object properties: data: type: object properties: {} description: Contains the details of the resource. buildsLookupResponse: allOf: - $ref: '#/components/schemas/dataLookup' - type: object properties: data: type: object allOf: - $ref: '#/components/schemas/buildsEntity' metaList: type: object properties: meta: type: object properties: pagination: type: object properties: current_page: type: integer description: The current page of the response. next_page: type: integer description: The next page of the response. prev_page: type: integer description: The previous page of the response. total_pages: type: integer description: The total number of pages in the response. total_count: type: integer description: The total number of results in the response. description: Contains pagination information about the list response. description: Contains a `pagination` object that provides pagination information about the list response. dataList: type: object properties: data: type: array description: Contains the results from the listing call. items: type: object properties: {} buildsEntity: allOf: - $ref: '#/components/schemas/basicResourceProperties' - type: object properties: attributes: type: object properties: created_at: type: string description: A timestamp of when the build was created in the system. status: type: string description: The current status of the build. updated_at: type: string description: A timestamp of when the build was last updated. token: type: string description: 'A unique token for the build. When a build is pushed to an Adobe-managed host (`akamai`), this token is used to identify the build within the library''s folder structure. This also prevent''s the build''s `id` value from being unnecessarily exposed. This also applies to `sftp` hosts so that libraries are constructed in the same manner.' description: Contains the build's attributes. relationships: type: object description: Provides information about other entities that are related to this build. allOf: - $ref: '#/components/schemas/relatedDataElements' - $ref: '#/components/schemas/relatedExtensions' - $ref: '#/components/schemas/relatedRules' - $ref: '#/components/schemas/relatedEnvironment' - $ref: '#/components/schemas/relatedLibrary' - $ref: '#/components/schemas/relatedProperty' links: type: object properties: environment: type: string description: A link to the environment that the build is assigned to. library: type: string description: A link to the library that the build is based on. self: type: string description: A link to the build itself. description: Contains links related to the build which can be used in subsequent fetch requests. meta: type: object properties: artifact_url: type: string description: The artifact URL for the build. This is the URL that you embed on your webpage in order to install the build. When embedded, this URL acts as a symlink to the `direct_artifact_url` for the currently installed build. When you create a new build for an environment, the symlink updates to point to the new `direct_artifact_url` and stores the old one on the server. When republishing a build, the symlink updates to point to the previous `direct_artifact_url`. This allows you to easily change builds without needing to edit client-side code. direct_artifact_url: type: string description: The direct artifact URL for the build. archive: type: boolean description: Indicates whether the build is archived. host_type_of: type: string description: The host type for the environment that the build is assigned to, either `akamai` for Adobe-managed hosting or `sftp` for self hosting. description: Contains meta information about the build. relatedRules: type: object properties: rules: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the related rules for the resource. description: Contains a `related` link that can be used in a subsequent API call to fetch the related rules for the resource. description: Contains a link to the related rules for the resource. buildsUpdatePayload: required: - data type: object properties: data: required: - id - meta - type type: object properties: id: type: string description: The ID of the build being republished. type: type: string description: Must be set to `builds`. meta: type: object properties: action: type: string description: If this property is included with a value of `republish`, the call republishes the build. description: If this property is included with an `action` property set to `republish`, the call republishes the build. description: Contains the attributes and type for the build being republished. example: data: id: BLb408c04c20ba4a82b6df496969a99781 type: builds meta: action: republish relatedEnvironment: type: object properties: environment: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the related environment. description: Contains a `related` link that can be used in a subsequent API call to fetch the related environment. data: type: object properties: id: type: string description: The unique ID of the environment. type: type: string description: The resource type for the environment (`environments`). description: Contains further information about the related environment. description: Contains information about the environment that this resource is active under. buildsListResponse: allOf: - $ref: '#/components/schemas/dataList' - type: object properties: data: type: array - $ref: '#/components/schemas/metaList' buildsCreateResponse: allOf: - $ref: '#/components/schemas/buildsLookupResponse' relatedDataElements: type: object properties: data_elements: type: object properties: links: type: object properties: related: type: string description: A link that can be used in a subsequent API call to fetch the related data elements for the resource. description: Contains a `related` link that can be used in a subsequent API call to fetch the related data elements for the resource. description: Contains a link to the related data elements for the resource. basicResourceProperties: type: object properties: id: type: string description: The unique ID for the resource. type: type: string description: The resource type. x-original-swagger-version: '2.0'