{ "openapi": "3.1", "info": { "title": "Lightroom API Reference", "description": "API Reference", "version": "1.0" }, "servers": [ { "url": "https://image.adobe.io" } ], "security": [], "paths": { "/lrService/presets": { "post": { "summary": "Apply Preset", "description": "This endpoint initiates an asynchronous job to apply a preset on an image. To check the status of this process, utilize the `Get Status` endpoint.", "operationId": "presets", "parameters": [ { "name": "Authorization", "description": "Bearer: ${Authorization Token}", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "x-api-key", "description": "API key/client id", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "Content-Type", "description": "application/json", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "x-gw-ims-org-id", "description": "IMS organization ID. This needs to be sent only if it is desirable to receive the job status through Adobe I/O Events.", "in": "header", "required": false, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "./acr/post_presets.schema.json" } } }, "required": true }, "responses": { "202": { "description": "Successful operation", "content": { "application/json": { "schema": { "$ref": "./acr/api_response_success_schema.json" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "./api_response_400_error_schema.json" } } } }, "402": { "description": "Trial Limit Exceeded", "content": { "application/json": { "schema": { "$ref": "./api_response_402_error_schema.json" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "./api_response_403_error_schema.json" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "./api_response_404_error_schema.json" } } } }, "409": { "description": "File Overwrite Error", "content": { "application/json": { "schema": { "$ref": "./api_response_409_error_schema.json" } } } }, "410": { "description": "Asset Link Invalid", "content": { "application/json": { "schema": { "$ref": "./api_response_410_error_schema.json" } } } }, "500": { "description": "Internal Server Error" } } } } } }