action apple_app_preview_sets_create_instance { label: "appPreviewSets-create_instance" provider: apple method: POST path: "/v1/appPreviewSets" encoding: json input: { type: "object" required: ["data"] properties: { data: { type: "object" required: ["attributes", "relationships", "type"] properties: { attributes: { type: "object" required: ["previewType"] properties: { previewType: { type: "string" enum: ["IPHONE_65", "IPHONE_58", "IPHONE_55", "IPHONE_47", "IPHONE_40", "IPHONE_35", "IPAD_PRO_3GEN_129", "IPAD_PRO_3GEN_11", "IPAD_PRO_129", "IPAD_105", "IPAD_97", "DESKTOP", "WATCH_SERIES_4", "WATCH_SERIES_3", "APPLE_TV"] } } } relationships: { type: "object" required: ["appStoreVersionLocalization"] properties: { appStoreVersionLocalization: { type: "object" required: ["data"] properties: { data: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appStoreVersionLocalizations"] } } } } } } } type: { type: "string" enum: ["appPreviewSets"] } } } } } output: { type: "object" required: ["data", "links"] properties: { data: { type: "object" required: ["id", "links", "type"] properties: { attributes: { type: "object" properties: { previewType: { type: "string" enum: ["IPHONE_65", "IPHONE_58", "IPHONE_55", "IPHONE_47", "IPHONE_40", "IPHONE_35", "IPAD_PRO_3GEN_129", "IPAD_PRO_3GEN_11", "IPAD_PRO_129", "IPAD_105", "IPAD_97", "DESKTOP", "WATCH_SERIES_4", "WATCH_SERIES_3", "APPLE_TV"] } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } relationships: { type: "object" properties: { appPreviews: { type: "object" properties: { data: { type: "array" items: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appPreviews"] } } } } links: { type: "object" properties: { related: { type: "string" format: "uri-reference" } self: { type: "string" format: "uri-reference" } } } meta: { type: "object" required: ["paging"] properties: { paging: { type: "object" required: ["limit", "total"] properties: { limit: { type: "integer" } total: { type: "integer" } } } } } } } appStoreVersionLocalization: { type: "object" properties: { data: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appStoreVersionLocalizations"] } } } links: { type: "object" properties: { related: { type: "string" format: "uri-reference" } self: { type: "string" format: "uri-reference" } } } } } } } type: { type: "string" enum: ["appPreviewSets"] } } } included: { type: "array" items: { type: "object" required: ["links", "id", "type"] properties: { attributes: { type: "object" properties: { assetDeliveryState: { type: "object" properties: { errors: { type: "array" items: { type: "object" properties: { code: { type: "string" } description: { type: "string" } } } } state: { type: "string" enum: ["AWAITING_UPLOAD", "UPLOAD_COMPLETE", "COMPLETE", "FAILED"] } warnings: { type: "array" items: { type: "object" properties: { code: { type: "string" } description: { type: "string" } } } } } } fileName: { type: "string" } fileSize: { type: "integer" } mimeType: { type: "string" } previewFrameTimeCode: { type: "string" } previewImage: { type: "object" properties: { height: { type: "integer" } templateUrl: { type: "string" } width: { type: "integer" } } } sourceFileChecksum: { type: "string" } uploadOperations: { type: "array" items: { type: "object" properties: { length: { type: "integer" } method: { type: "string" } offset: { type: "integer" } requestHeaders: { type: "array" items: { type: "object" properties: { name: { type: "string" } value: { type: "string" } } } } url: { type: "string" } } } } videoUrl: { type: "string" } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } relationships: { type: "object" properties: { appPreviewSet: { type: "object" properties: { data: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appPreviewSets"] } } } links: { type: "object" properties: { related: { type: "string" format: "uri-reference" } self: { type: "string" format: "uri-reference" } } } } } } } type: { type: "string" enum: ["appPreviews"] } } } } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } } } }