action cpy_post_api_v1_abuses { label: "Report an abuse" provider: cpy method: POST path: "/api/v1/abuses" encoding: json input: { type: "object" required: ["reason"] properties: { account: { type: "object" properties: { id: { type: "integer" description: "Account id to report" } } } comment: { type: "object" properties: { id: { description: "Comment id to report" type: "object" } } } predefinedReasons: { type: "array" description: "Reason categories that help triage reports" items: { type: "string" enum: ["violentOrAbusive", "hatefulOrAbusive", "spamOrMisleading", "privacy", "rights", "serverRules", "thumbnails", "captions"] } } reason: { type: "string" description: "Reason why the user reports this video" } video: { type: "object" properties: { endAt: { type: "integer" format: "seconds" description: "Timestamp in the video that marks the ending of the report" } id: { description: "Video id to report" type: "object" } startAt: { type: "integer" format: "seconds" description: "Timestamp in the video that marks the beginning of the report" } } } } } output: { type: "object" properties: { abuse: { type: "object" properties: { id: { type: "integer" } } } } } }