action trashnothing_rotate_photo { label: "Rotate a photo" provider: trashnothing method: POST path: "/photos/{photo_id}/rotate" encoding: json input: { type: "object" properties: { degrees: { type: "integer" } device_pixel_ratio: { type: "number" } photo_id: { type: "string" } } required: ["degrees", "photo_id"] additionalProperties: false } output: { type: "object" description: "The result of uploading or editing a photo." properties: { photo_id: { type: "string" } thumbnail: { type: "object" description: "Photo thumbnail data." properties: { height: { type: "integer" } url: { type: "string" } width: { type: "integer" } } } } } }