action apple_apps_end_user_license_agreement_get_to_one_related { label: "apps-endUserLicenseAgreement-get_to_one_related" provider: apple method: GET path: "/v1/apps/{id}/endUserLicenseAgreement" encoding: json input: { type: "object" properties: { "fields[endUserLicenseAgreements]": { type: "array" items: { type: "string" enum: ["agreementText", "app", "territories"] } } } additionalProperties: false } output: { type: "object" required: ["data", "links"] properties: { data: { type: "object" required: ["id", "links", "type"] properties: { attributes: { type: "object" properties: { agreementText: { type: "string" } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } relationships: { type: "object" properties: { app: { type: "object" properties: { data: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["apps"] } } } links: { type: "object" properties: { related: { type: "string" format: "uri-reference" } self: { type: "string" format: "uri-reference" } } } } } territories: { type: "object" properties: { data: { type: "array" items: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["territories"] } } } } 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" } } } } } } } } } type: { type: "string" enum: ["endUserLicenseAgreements"] } } } included: { type: "array" items: { type: "object" required: ["links", "id", "type"] properties: { attributes: { type: "object" properties: { currency: { type: "string" } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } type: { type: "string" enum: ["territories"] } } } } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } } } }