Use this method to add new track to the score. This track can then be played on flat.io or in an embedded score. This API method support medias hosted on SoundCloud, YouTube and Vimeo.
643 matches
79 actions
Flat
79 actions
- Activate the classPOSTv1.0.0
- Add a feedback comment to a submissionPOSTv1.0.0
- Add a new collaboratorPOSTv1.0.0
- Add a new video or audio track to the scorePOSTv1.0.0
- Add a score to the collectionPUTv1.0.0
- Add a user to the classPUTv1.0.0
- Archive the assignmentPOSTv1.0.0
- Archive the classPOSTv1.0.0
- Assignment creationPOSTv1.0.0
- Assignments listingGETv1.0.0
- Copy an assignmentPOSTv1.0.0
- Count the organization users using the provided filtersGETv1.0.0
- Create a new classPOSTv1.0.0
- Create a new collectionPOSTv1.0.0
- Create a new couple of LTI 1.x credentialsPOSTv1.0.0
- Create a new invitation to join the organizationPOSTv1.0.0
- Create a new revisionPOSTv1.0.0
- Create a new scorePOSTv1.0.0
- Create a new user accountPOSTv1.0.0
- Create or edit a submissionPUTv1.0.0
- Delete a collaboratorDELETEv1.0.0
- Delete a commentDELETEv1.0.0
- Delete a feedback comment to a submissionDELETEv1.0.0
- Delete a scoreDELETEv1.0.0
- Delete a score from the collectionDELETEv1.0.0
- Delete a submissionDELETEv1.0.0
- Delete the collectionDELETEv1.0.0
- Edit a score's metadataPUTv1.0.0
- Edit a submissionPUTv1.0.0
- Fork a scorePOSTv1.0.0
- Get a collaboratorGETv1.0.0
- Get a public user profileGETv1.0.0
- Get a score revisionGETv1.0.0
- Get a score revision dataGETv1.0.0
- Get a score's metadataGETv1.0.0
- Get a student submissionGETv1.0.0
- Get collection detailsGETv1.0.0
- Get current user profileGETv1.0.0
- Get group informationGETv1.0.0
- Get the details of a single classGETv1.0.0
- Get the history of the submissionGETv1.0.0
- Join a classPOSTv1.0.0
- List commentsGETv1.0.0
- List group's scoresGETv1.0.0
- List group's usersGETv1.0.0
- List liked scoresGETv1.0.0
- List LTI 1.x credentialsGETv1.0.0
- List submissions related to the scoreGETv1.0.0
- List the audio or video tracks linked to a scoreGETv1.0.0
- List the classes available for the current userGETv1.0.0
- List the collaboratorsGETv1.0.0
- List the collectionsGETv1.0.0
- List the feedback comments of a submissionGETv1.0.0
- List the organization invitationsGETv1.0.0
- List the organization usersGETv1.0.0
- List the revisionsGETv1.0.0
- List the scores contained in a collectionGETv1.0.0
- List the students' submissionsGETv1.0.0
- List the submissions for a studentGETv1.0.0
- List user's scoresGETv1.0.0
- Mark the comment as resolvedPUTv1.0.0
- Mark the comment as unresolvedDELETEv1.0.0
- Post a new commentPOSTv1.0.0
- Remove a user from the classDELETEv1.0.0
- Remove an account from FlatDELETEv1.0.0
- Remove an audio or video track linked to the scoreDELETEv1.0.0
- Remove an organization invitationDELETEv1.0.0
- Retrieve the details of an audio or video track linked to a scoreGETv1.0.0
- Revoke LTI 1.x credentialsDELETEv1.0.0
- Unarchive the assignment.DELETEv1.0.0
- Unarchive the classDELETEv1.0.0
- Untrash a collectionPOSTv1.0.0
- Untrash a scorePOSTv1.0.0
- Update a collection's metadataPUTv1.0.0
- Update a feedback comment to a submissionPUTv1.0.0
- Update account informationPUTv1.0.0
- Update an audio or video track linked to a scorePUTv1.0.0
- Update an existing commentPUTv1.0.0
- Update the classPUTv1.0.0
Other/Flat
Add a new video or audio track to the score
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
{
"type": "object",
"description": "Creation of a new track. This one must contain the URL of the track or the corresponding file\n",
"properties": {
"default": {
"type": "boolean",
"description": "True if the track should be used as default audio source"
},
"state": {
"type": "string",
"description": "State of the track",
"enum": [
"draft",
"completed",
"deleted"
]
},
"synchronizationPoints": {
"type": "array",
"items": {
"type": "object",
"description": "A track synchronization point",
"required": [
"time",
"type"
],
"properties": {
"measureUuid": {
"type": "string",
"format": "uuid",
"description": "The measure unique identifier"
},
"time": {
"type": "number",
"description": "The corresponding time in seconds"
},
"type": {
"type": "string",
"description": "The type of the synchronization point. If the type is `measure`, the measure uuid must be present in `measureUuid`",
"enum": [
"measure",
"end"
]
}
}
}
},
"title": {
"type": "string",
"description": "Title of the track"
},
"url": {
"type": "string",
"description": "The URL of the track"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
{
"type": "object",
"description": "An audio track for a score",
"properties": {
"creationDate": {
"type": "string",
"format": "date-time",
"description": "The creation date of the track"
},
"creator": {
"type": "string",
"description": "The unique identifier of the track creator"
},
"default": {
"type": "boolean",
"description": "True if the track should be used as default audio source"
},
"id": {
"type": "string",
"description": "The unique identifier of the score track"
},
"mediaId": {
"type": "string",
"description": "The unique identifier of the track when hosted on an external service.\nFor example, if the url is `https://www.youtube.com/watch?v=dQw4w9WgXcQ`, `mediaId` will be `dQw4w9WgXcQ`\n"
},
"modificationDate": {
"type": "string",
"format": "date-time",
"description": "The modification date of the track"
},
"score": {
"type": "string",
"description": "The unique identifier of the score"
},
"state": {
"type": "string",
"description": "State of the track",
"enum": [
"draft",
"completed",
"deleted"
]
},
"synchronizationPoints": {
"type": "array",
"items": {
"type": "object",
"description": "A track synchronization point",
"required": [
"time",
"type"
],
"properties": {
"measureUuid": {
"type": "string",
"format": "uuid",
"description": "The measure unique identifier"
},
"time": {
"type": "number",
"description": "The corresponding time in seconds"
},
"type": {
"type": "string",
"description": "The type of the synchronization point. If the type is `measure`, the measure uuid must be present in `measureUuid`",
"enum": [
"measure",
"end"
]
}
}
}
},
"title": {
"type": "string",
"description": "Title of the track"
},
"type": {
"type": "string",
"description": "The type of an audio track",
"enum": [
"audio",
"soundcloud",
"youtube",
"vimeo"
]
},
"url": {
"type": "string",
"description": "The URL of the track"
}
}
}