You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(edu): `POST /v2/organizations/users` now accepts optional `firstname` and `lastname`
* 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 from `POST /organizations/invitations` (previously renamed to `organizationRole`)
* 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` or `sharedWriting`.
* feat(edu): users returned by `GET /v2/groups/{group}/users` can now be filtered by the sync source: `googleClassroom`, `microsoftGraph` or `clever`.
* feat(scores): scores details returned by `GET /v2/scores/{score}` (and similar) now includes the audio samples list used by our playback. The `instruments` property now includes a normalized list of instruments that is not dependent from the samples used.
This API call will make a copy of the last revision of the specified score and create a new score. The copy of the score will have a privacy set to `private`.
description: Filter users by license expiration date
2268
+
schema:
2269
+
type: array
2270
+
items:
2271
+
type: string
2252
2272
- name: limit
2253
2273
in: query
2254
2274
description: This is the maximum number of objects that may be returned
2255
2275
schema:
2256
2276
maximum: 1000
2257
2277
minimum: 1
2258
2278
type: integer
2259
-
default: 50
2260
-
- name: next
2261
-
in: query
2262
-
description: |
2263
-
An opaque string cursor to fetch the next page of data.
2264
-
The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
2265
-
schema:
2266
-
type: string
2267
-
- name: previous
2268
-
in: query
2269
-
description: |
2270
-
An opaque string cursor to fetch the previous page of data.
2271
-
The paginated API URLs are returned in the `Link` header when requesting the API. These URLs will contain a `next` and `previous` cursor based on the available data.
2272
-
schema:
2273
-
type: string
2279
+
default: 25
2274
2280
responses:
2275
2281
200:
2276
2282
description: List of users
@@ -2320,6 +2326,37 @@ paths:
2320
2326
- edu.admin
2321
2327
- edu.admin.users
2322
2328
x-codegen-request-body-name: body
2329
+
/organizations/users/count:
2330
+
get:
2331
+
tags:
2332
+
- Organization
2333
+
summary: Count the organization users using the provided filters
If the classsroom is synchronized with another application like Google Classroom, some of the meta information will automatically be updated.
2672
2709
2673
-
You can add users to this class using `POST /classes/{class}/users/{user}`, they will automatically added to the group based on their role on Flat. Users can also enroll themselves to this class using `POST /classes/enroll/{enrollmentCode}` and the `enrollmentCode` returned in the `ClassDetails` response.
2710
+
You can add users to this class using `PUT /classes/{class}/users/{user}`, they will automatically added to the group based on their role on Flat. Users can also enroll themselves to this class using `POST /classes/enroll/{enrollmentCode}` and the `enrollmentCode` returned in the `ClassDetails` response.
description: The list of users member of the group
@@ -3596,8 +3713,7 @@ components:
3596
3713
instruments:
3597
3714
type: array
3598
3715
description: |
3599
-
An array of the instrument identifiers that the user plays.
3600
-
This is mainly used to display a list of the instruments in the Flat's UI or instruments icons.
3716
+
An array of the instrument identifiers used the different score parts.
3601
3717
The format of the strings is `{instrument-group}.{instrument-id}`.
3602
3718
items:
3603
3719
type: string
@@ -3640,15 +3756,26 @@ components:
3640
3756
type: object
3641
3757
properties:
3642
3758
username:
3759
+
maxLength: 30
3760
+
minLength: 1
3643
3761
pattern: ^[A-Za-z0-9\-_.]+$
3644
3762
type: string
3645
3763
description: Username of the new account
3764
+
firstname:
3765
+
maxLength: 60
3766
+
type: string
3767
+
description: First name of the user
3768
+
lastname:
3769
+
maxLength: 60
3770
+
type: string
3771
+
description: Last name of the user
3646
3772
email:
3647
3773
type: string
3648
3774
description: Email of the new account
3649
3775
format: email
3650
3776
password:
3651
3777
minLength: 6
3778
+
maxLength: 1000
3652
3779
type: string
3653
3780
description: Password of the new account
3654
3781
format: password
@@ -3660,6 +3787,7 @@ components:
3660
3787
properties:
3661
3788
password:
3662
3789
minLength: 6
3790
+
maxLength: 1000
3663
3791
type: string
3664
3792
description: Password of the new account
3665
3793
format: password
@@ -3956,6 +4084,13 @@ components:
3956
4084
An array of the instrument identifiers used in the last version of the score. This is mainly used to display a list of the instruments in the Flat's UI or instruments icons. The format of the strings is `{instrument-group}.{instrument-id}`.
3957
4085
items:
3958
4086
type: string
4087
+
samples:
4088
+
type: array
4089
+
description: |
4090
+
An array of the audio samples identifiers used the different score parts.
4091
+
The format of the strings is `{instrument-group}.{sample-id}`.
4092
+
items:
4093
+
type: string
3959
4094
googleDriveFileId:
3960
4095
type: string
3961
4096
description: |
@@ -4308,6 +4443,7 @@ components:
4308
4443
properties:
4309
4444
collection:
4310
4445
type: string
4446
+
default: root
4311
4447
description: |
4312
4448
Unique identifier of a collection where the score will be copied.
4313
4449
If no collection identifier is provided, the score will be stored in the `root` directory.
@@ -4778,8 +4914,6 @@ components:
4778
4914
description: The email address you want to send the invitation to
4779
4915
organizationRole:
4780
4916
$ref: '#/components/schemas/OrganizationRoles'
4781
-
role:
4782
-
$ref: '#/components/schemas/OrganizationRoles'
4783
4917
description: The parameters to create an organization invitation
0 commit comments