@@ -178,8 +178,7 @@ route properties/add(AddPropertiesArg, Void, AddPropertiesError)
178
178
:route:`templates/add_for_team` to create new templates."
179
179
180
180
attrs
181
- api_group="properties"
182
- owner = "api-platform"
181
+ scope = "files.metadata.write"
183
182
184
183
struct OverwritePropertyGroupArg
185
184
path PathOrId
@@ -199,8 +198,7 @@ route properties/overwrite(OverwritePropertyGroupArg, Void, InvalidPropertyGroup
199
198
delete fields that are explicitly marked for deletion."
200
199
201
200
attrs
202
- api_group="properties"
203
- owner = "api-platform"
201
+ scope = "files.metadata.write"
204
202
205
203
struct PropertyGroupUpdate
206
204
template_id TemplateId
@@ -237,8 +235,7 @@ route properties/update(UpdatePropertiesArg, Void, UpdatePropertiesError)
237
235
will delete any fields that are omitted from a property group."
238
236
239
237
attrs
240
- api_group="properties"
241
- owner = "api-platform"
238
+ scope = "files.metadata.write"
242
239
243
240
struct RemovePropertiesArg
244
241
path PathOrId
@@ -263,8 +260,7 @@ route properties/remove(RemovePropertiesArg, Void, RemovePropertiesError)
263
260
:route:`templates/remove_for_user` or :route:`templates/remove_for_team`."
264
261
265
262
attrs
266
- api_group="properties"
267
- owner = "api-platform"
263
+ scope = "files.metadata.write"
268
264
269
265
#
270
266
# Property Group Template Routes
@@ -300,8 +296,7 @@ route templates/add_for_user(AddTemplateArg, AddTemplateResult, ModifyTemplateEr
300
296
endpoint can't be called on a team member or admin's behalf."
301
297
302
298
attrs
303
- api_group="properties"
304
- owner = "api-platform"
299
+ scope = "files.metadata.write"
305
300
306
301
route templates/add_for_team(AddTemplateArg, AddTemplateResult, ModifyTemplateError)
307
302
"Add a template associated with a team. See :route:`properties/add` to add properties to a file or folder.
@@ -310,8 +305,7 @@ route templates/add_for_team(AddTemplateArg, AddTemplateResult, ModifyTemplateEr
310
305
311
306
attrs
312
307
auth="team"
313
- api_group="properties"
314
- owner = "api-platform"
308
+ scope = "files.team_metadata.write"
315
309
316
310
struct GetTemplateArg
317
311
template_id TemplateId
@@ -332,16 +326,14 @@ route templates/get_for_user(GetTemplateArg, GetTemplateResult, TemplateError)
332
326
"Get the schema for a specified template. This endpoint can't be called on a team member or admin's behalf."
333
327
334
328
attrs
335
- api_group="properties"
336
- owner = "api-platform"
329
+ scope = "files.metadata.read"
337
330
338
331
route templates/get_for_team(GetTemplateArg, GetTemplateResult, TemplateError)
339
332
"Get the schema for a specified template."
340
333
341
334
attrs
342
335
auth="team"
343
- api_group="properties"
344
- owner = "api-platform"
336
+ scope = "files.team_metadata.write"
345
337
346
338
struct UpdateTemplateArg
347
339
template_id TemplateId
@@ -377,17 +369,15 @@ route templates/update_for_user(UpdateTemplateArg, UpdateTemplateResult, ModifyT
377
369
be called on a team member or admin's behalf."
378
370
379
371
attrs
380
- api_group="properties"
381
- owner = "api-platform"
372
+ scope = "files.metadata.write"
382
373
383
374
route templates/update_for_team(UpdateTemplateArg, UpdateTemplateResult, ModifyTemplateError)
384
375
"Update a template associated with a team. This route can update the template name,
385
376
the template description and add optional properties to templates."
386
377
387
378
attrs
388
379
auth="team"
389
- api_group="properties"
390
- owner = "api-platform"
380
+ scope = "files.team_metadata.write"
391
381
392
382
struct ListTemplateResult
393
383
template_ids List(TemplateId)
@@ -403,17 +393,15 @@ route templates/list_for_user(Void, ListTemplateResult, TemplateError)
403
393
called on a team member or admin's behalf."
404
394
405
395
attrs
406
- api_group="properties"
407
- owner = "api-platform"
396
+ scope = "files.metadata.read"
408
397
409
398
route templates/list_for_team(Void, ListTemplateResult, TemplateError)
410
399
"Get the template identifiers for a team. To get the schema of
411
400
each template use :route:`templates/get_for_team`."
412
401
413
402
attrs
414
403
auth="team"
415
- api_group="properties"
416
- owner = "api-platform"
404
+ scope = "files.team_metadata.write"
417
405
418
406
struct RemoveTemplateArg
419
407
template_id TemplateId
@@ -429,8 +417,7 @@ route templates/remove_for_user(RemoveTemplateArg, Void, TemplateError)
429
417
cannot be undone."
430
418
431
419
attrs
432
- api_group="properties"
433
- owner = "api-platform"
420
+ scope = "files.metadata.write"
434
421
435
422
route templates/remove_for_team(RemoveTemplateArg, Void, TemplateError)
436
423
"Permanently removes the specified template created from :route:`templates/add_for_user`.
@@ -439,8 +426,7 @@ route templates/remove_for_team(RemoveTemplateArg, Void, TemplateError)
439
426
440
427
attrs
441
428
auth="team"
442
- api_group="properties"
443
- owner = "api-platform"
429
+ scope = "files.team_metadata.write"
444
430
445
431
union TemplateOwnerType
446
432
user
@@ -538,8 +524,7 @@ route properties/search(PropertiesSearchArg, PropertiesSearchResult, PropertiesS
538
524
"Search across property templates for particular property field values."
539
525
540
526
attrs
541
- api_group="properties"
542
- owner = "api-platform"
527
+ scope = "files.metadata.read"
543
528
544
529
struct PropertiesSearchContinueArg
545
530
cursor PropertiesSearchCursor
@@ -558,6 +543,3 @@ route properties/search/continue (PropertiesSearchContinueArg, PropertiesSearchR
558
543
"Once a cursor has been retrieved from :route:`properties/search`, use this to paginate through all
559
544
search results."
560
545
561
- attrs
562
- api_group="properties"
563
- owner = "api-platform"
0 commit comments