Releases: FlatIO/api-reference
Releases · FlatIO/api-reference
v2.12.0
- update(scores):
ResourceCollaborator
now includes ainvited
boolean property to know if the collaborator is still a pending invite. - feat(assignments): Export grades as CSV and Excel files (
GET /classes/{class}/assignments/{assignment}/submissions/csv
and/classes/{class}/assignments/{assignment}/submissions/excel
) - update(assignments): Assignment creation (
POST /classes/{class}/assignments
) and assignments objects now include atype
(AssignmentType
). - update(assignments): Assignments objects (
Assignment
) now include a cover URL (cover
) and the corresponding file identifier (`coverFile). - update(assignments): Assignment copy (
POST /classes/{class}/assignments/{assignment}/copy
) now accepts an optionalassigment
identifier. This can be used to override a draft assignment with the content from another assignment. - style: Lint OpenAPI v3 specification
v2.11.0
- feat(edu):
PUT /organizations/users/{user}
has new parameters to edit accounts:username
,firstname
,lastname
,email
. - feat(edu):
POST /classes/{class}/assignments
has new parameters:toolset
id to enable a toolset for the assignment.nbPlaybackAuthorized
to limit the number of time the playback can be usedmaxPoints
for grading purposegoogleClassroom.topicId
to add the assignment under a specific Google Classroom course topicassigneeMode
andassignedStudents
to assign specific studentslockScoreTemplate
to lock assigned templatesdueDate
andscheduledDate
are nullable to unset properties- returns new information about LTI assigments, Canvas assignments and MusicFirst assignments
- feat(edu):
PUT /classes/{class}/assignments/{assignment}/submissions
has:- New parameters for grading (
draftGrade
,grade
) - A new parameter for teacher to return a submission (
return
) and - Computed comments counters (
comments
) - Returned object
AssignmentSubmission
now includesmaxPoints
for the maximum number of points when the grade was set.
- New parameters for grading (
- feat(edu): New endpoints under
/classes/{class}/assignments/{assignment}/submissions/{submission}/comments
to create, list, update and delete comments for the submission. - update(scores):
GET /scores/{score}/revisions/{revision}/{format}
query stringparts
now only accepts parts UUIDs. - update(edu):
GET /organizations/users
query stringlicenseExpirationDate
now also acceptsactive
andnotActive
values, and has a new query optiononlyIds
- DEPRECATED:
PUT /classes/{class}/assignments/{assignment}/submissions
parametersstudentComment
andreturnFeedback
have been removed.returnFeedback
has been replace by a booleanreturn
to return a submission as a teacher.
v2.10.0
- feat(edu):
POST /v2/organizations/users
now accepts optionalfirstname
andlastname
- update(edu):
GET /v2/organizations/users
now accepts sort options and filters - feat(edu): added
GET /v2/organizations/users/count
to count users matching specified filters - feat(edu): removed deprecated
role
property fromPOST /organizations/invitations
(previously renamed toorganizationRole
) - feat(assignments): added
POST/DELETE /v2/classes/{class}/assignments/{assignment}/archive
to archive/unarchive assignments - feat(assignments): returned assignments object from
GET /v2/classes/{class}/assignments/{assignment}
now includes the main type of the assignment:newScore
,scoreTemplare
orsharedWriting
. - feat(edu): users returned by
GET /v2/groups/{group}/users
can now be filtered by the sync source:googleClassroom
,microsoftGraph
orclever
. - feat(scores): scores details returned by
GET /v2/scores/{score}
(and similar) now includes the audio samples list used by our playback. Theinstruments
property now includes a normalized list of instruments that is not dependent from the samples used.
v2.9.0
- Schema is now using OpenAPI 3.0.2 (previous schemas were using OpenAPI 2)
- feat(scores): New metadata and update of
GET/PUT /v2/scores/{score}
:arranger
property has been addedplays
statistics are now returned (ScorePlaysCounts
)
- feat(scores): New
now
proprty on theDELETE
method to schedule a deletion to be executed shortly (avoid keeping in trash) - feat(edu): Attachments (
MediaAttachment
andClassAttachmentCreation
) have new typegoogleDrive
for attached Drive file, and a newgoogleDriveFileId
property. If the attachment is agoogleDrive
item, theiconUrl
andmimeType
properties are also returned - feat(edu): Add
microsoftGraph
info toClassDetails
(e.g.GET /v2/classes
andGET /v2/classes/{class}
) - feat(account): Add
firstname
andlastname
properties for education accounts
v2.8.0
- feat(scores): New metadata and update of
PUT /v2/scores/{score}
:subtitle
,composer
,lyricist
andlicenseText
properties has been added- when updating
title
,subtitle
,composer
,lyricist
andlicenseText
via the API, the modifications events will be pushed to our real-time engine, and a new version will be scheduled (asynchronous) description
can now be up to 2000 characters (was previously 1000)
- feat(submissions): Added education submissions states (
created
,turnedIn
,returned
) - feat(revisions): Return the last modification
event
when fetching a revision metadata (UUID) - feat(locale): added Turkish (
tr
) - feat(licenses): added new license source
appStore
- feat(user): added
isFlatTeam
property to public profiles - chore(specs): Inline schemas
UserInstruments
,ResourceSharingKey
,ScoreData
,ScoreDataEncoding
,CollectionTitle
v2.7.0
- update(spec): specify
produces
andconsumes
on endpoints instead of globally - feat(scores): now support Guitar Pro (GP3, GP4, GP5, GPX, GP), PowerTab, TuxGuitar and MuseScore files in POST /scores
- feat(scores): add support for
filename
when importing scores - feat(collections):
parent
collection can now be a collection id when listing collections - feat(collections): includes parent collections when listing scores
- feat(collections): add
creationDate
property in collection details - feat(comments): add
staffUuid
for contextualized comments, which will completely replacestaffIdx
in the future - feat(rights): now return a
isCollaborator
boolean property with the Score or Collection rights - update(account): added new locales supported
v2.6.0
- feat(collections): Add new Collections API endpoints
POST /collections
: Create new collectionGET /collections
: List collectionsGET /collections/{collection}
: Get collection detailsPUT /collections/{collection}
: Update collection detailsDELETE /collections/{collection}
: Delete collectionPOST /collections/{collection}/untrash
: Untrash collectionGET /collections/{collection}/scores
: List scores contained in a collectionPUT /collections/{collection}/scores/{score}
: Add a score to a collectionDELETE /collections/{collection}/scores/{score}
: Remove a score from a collection
- feat(collections): Add new OAuth2 scopes for new features:
collections.readonly
: Allow read-only access to a user's collections.collections.add_scores
: Allow to add scores to a user's collections.collections
: Full, permissive scope to access all of a user's collections.
- feat(score): Added new method to untrash a score (
POST /v2/scores/{score}/untrash
) - feat(score):
DELETE /v2/scores/{score}
can now be used without admin rights. This new behavior will unshare the score from the current account. - feat(score):
POST /scores/{score}/fork
now accepts a collection identifier to copy a score to a specific collection. - feat(comments): Comments can now be filtered by type with the new query string
type
(document
orinline
). - update(openapi): Some schema definitions have been renamed, they are now used for Scores and Collections
ScoreRights
->ResourceRights
ScoreCollaborator
->ResourceCollaborator
ScoreCollaboratorCreation
->ResourceCollaboratorCreation
- existing score sharing key ->
ResourceSharingKey
- DEPRECATED:
GET /scores/{score}/revisions/{revision}/{format}
no longer support part indexes for single/set of parts exports, but our own part UUIDs. - DEPRECATED on 2019-01-01:
GET /users/{user}/scores
will no longer list private and shared scores, but only public scores of a Flat account.