action flat_get_score_revisions { label: "List the revisions" description: "When creating a score or saving a new version of a score, a revision is created in our storage. This method allows you to list all of them, sorted by last modification.\n\nDepending the plan of the account, this list can be trunked to the few last revisions.\n" provider: flat method: GET path: "/scores/{score}/revisions" encoding: json input: { type: "object" properties: { sharingKey: { type: "string" } } additionalProperties: false } output: { type: "array" items: { type: "object" description: "A score revision metadata" properties: { autosave: { type: "boolean" description: "True if this revision was automatically generated by Flat and not on\npurpose by the user.\n" } collaborators: { type: "array" items: { type: "string" description: "The list of user identifier or collaborators who worked on this\nrevision. This is list is built from the history of the revision\nspecified during the creation of the revision.\n" } } creationDate: { type: "string" format: "date-time" description: "The date when this revision was created" } description: { type: "string" description: "A description associated to the revision" } event: { type: "string" description: "The last event (action id) of the revision" } id: { type: "string" description: "The unique identifier of the revision." } statistics: { type: "object" description: "The statistics related to the score revision (additions and deletions)\n" properties: { additions: { type: "number" description: "The number of additions operations in the last revision" } deletions: { type: "number" description: "The number of deletions operations in the last revision" } } } user: { type: "string" description: "The user identifier who created the revision" } } } } }