action contribly_delete_contributions_id { label: "Delete this contribution" provider: contribly method: DELETE path: "/contributions/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { assignment: { type: "object" properties: { allowsAnonymousContributions: { type: "boolean" } callToAction: { type: "string" description: "An optional call to action specific to this assignment. ie. Submit your snow pictures." } cover: { type: "object" properties: { artifacts: { type: "array" items: { type: "object" properties: { contentLength: { type: "number" } contentType: { type: "string" } height: { type: "number" } label: { type: "string" } url: { type: "string" } width: { type: "number" } } } } id: { type: "string" } media: { type: "object" properties: { duration: { type: "number" } id: { type: "string" } place: { type: "object" properties: { country: { type: "string" } geohash: { type: "string" } google: { type: "string" } latLong: { type: "object" properties: { latitude: { type: "number" format: "double" } longitude: { type: "number" format: "double" } } } name: { type: "string" } osm: { type: "object" properties: { osmId: { type: "number" } osmType: { type: "string" } } } } } type: { type: "string" } } } } } created: { type: "string" format: "date-time" } description: { type: "string" } embargo: { type: "string" format: "date-time" } ends: { type: "string" format: "date-time" } featured: { type: "boolean" } id: { type: "string" } mediaRequired: { type: "boolean" } moderator: { type: "string" description: "Optional credential id of the moderator who owns this particular assignment." } name: { type: "string" } open: { type: "boolean" description: "Helper value. Is this assignment currently open? Based on the value of the ends field." } receiptMessage: { type: "string" description: "An optional assignment specific message to be displayed on successful contribution submission. For example, this might be used to inform contributors of assignment specific moderation time frames." } starts: { type: "string" format: "date-time" } tags: { type: "array" items: { type: "object" required: ["id", "name"] properties: { colour: { type: "string" description: "Optional HTML hexcode colour" } id: { type: "string" } name: { type: "string" } tagSet: { type: "object" required: ["id", "name"] properties: { id: { type: "string" } name: { type: "string" } } } urlWords: { type: "string" } } } } urlWords: { type: "string" } webUrl: { type: "string" } } } attribution: { type: "string" description: "The public attribution for this contribution. This will be the display name of the registered user or the contributor's first and last name if they provided them while making a non authenticated contribution. A blank attribution field indicates and anonymous contribution." } body: { type: "string" } created: { type: "string" format: "date-time" } headline: { type: "string" } id: { type: "string" } mediaUsages: { type: "array" items: { type: "object" additionalProperties: true } } moderationHistory: { type: "array" items: { type: "object" required: ["date"] properties: { action: { type: "object" required: ["id", "label", "resultingState"] properties: { id: { type: "string" } label: { type: "string" } resultingState: { type: "object" required: ["id", "label", "public"] properties: { id: { type: "string" } label: { type: "string" } public: { type: "boolean" } } } } } date: { type: "string" format: "date-time" } notes: { type: "string" } } } } place: { type: "object" additionalProperties: true } urlWords: { type: "string" } via: { type: "object" properties: { authority: { type: "object" properties: { client: { type: "object" properties: { id: { type: "string" } name: { type: "string" } } } id: { type: "string" } user: { type: "object" properties: { bio: { type: "string" } displayName: { type: "string" } id: { type: "string" } registered: { type: "string" format: "date-time" } username: { type: "string" } } } } } ipAddress: { type: "string" } ipAddressPlace: { type: "object" additionalProperties: true } } } } } }