action apple_profiles_devices_get_to_many_related { label: "profiles-devices-get_to_many_related" provider: apple method: GET path: "/v1/profiles/{id}/devices" encoding: json input: { type: "object" properties: { "fields[devices]": { type: "array" items: { type: "string" enum: ["addedDate", "deviceClass", "model", "name", "platform", "status", "udid"] } } limit: { type: "integer" } } additionalProperties: false } output: { type: "object" required: ["data", "links"] properties: { data: { type: "array" items: { type: "object" required: ["links", "id", "type"] properties: { attributes: { type: "object" properties: { addedDate: { type: "string" format: "date-time" } deviceClass: { type: "string" enum: ["APPLE_WATCH", "IPAD", "IPHONE", "IPOD", "APPLE_TV", "MAC"] } model: { type: "string" } name: { type: "string" } platform: { type: "string" enum: ["IOS", "MAC_OS"] } status: { type: "string" enum: ["ENABLED", "DISABLED"] } udid: { type: "string" } } } id: { type: "string" } links: { type: "object" required: ["self"] properties: { self: { type: "string" format: "uri-reference" } } } type: { type: "string" enum: ["devices"] } } } } links: { type: "object" required: ["self"] properties: { first: { type: "string" format: "uri-reference" } next: { 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" } } } } } } } }