action apple_app_infos_primary_category_get_to_one_related { label: "appInfos-primaryCategory-get_to_one_related" provider: apple method: GET path: "/v1/appInfos/{id}/primaryCategory" encoding: json input: { type: "object" properties: { "fields[appCategories]": { type: "array" items: { type: "string" enum: ["parent", "platforms", "subcategories"] } } } additionalProperties: false } output: { type: "object" required: ["data", "links"] properties: { data: { type: "object" required: ["id", "links", "type"] properties: { attributes: { type: "object" properties: { platforms: { type: "array" items: { type: "string" enum: ["IOS", "MAC_OS", "TV_OS"] } } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } relationships: { type: "object" properties: { parent: { type: "object" properties: { data: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appCategories"] } } } links: { type: "object" properties: { related: { type: "string" format: "uri-reference" } self: { type: "string" format: "uri-reference" } } } } } subcategories: { type: "object" properties: { data: { type: "array" items: { type: "object" required: ["id", "type"] properties: { id: { type: "string" } type: { type: "string" enum: ["appCategories"] } } } } 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: ["appCategories"] } } } included: { type: "array" items: { type: "object" } } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } } } }