Skip to content

Commit a59b273

Browse files
authored
Renamed the provider's resource id as shareId
This better represents the fact that a per resource and per share unique ID is needed, both sending a new share and receiving an accepted/rejected notification about it
1 parent 81d536c commit a59b273

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

spec.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ definitions:
214214
required:
215215
- shareWith
216216
- name
217-
- providerId
218-
- resourceId
217+
- shareId
219218
- owner
220219
- sender
221220
- protocols
@@ -241,17 +240,11 @@ definitions:
241240
example: >-
242241
This is the Open API Specification file (in YAML format) of the Open
243242
Cloud Mesh API.
244-
resourceId:
243+
shareId:
245244
type: string
246245
description: >
247-
Identifier to identify the resource at the provider side. This is
248-
unique per provider.
249-
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
250-
providerId:
251-
type: string
252-
description: >
253-
Identifier to identify the resource at the provider side. This is
254-
unique per provider (deprecated).
246+
Identifier to identify the shared resource at the provider side. This is
247+
unique per provider and per share.
255248
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
256249
owner:
257250
description: |
@@ -371,9 +364,9 @@ definitions:
371364
description: |
372365
A resource type (e.g. file, calendar, contact)
373366
example: file
374-
providerId:
367+
shareId:
375368
type: string
376-
description: ID of the resource on the provider side
369+
description: ID of the shared resource on the provider side
377370
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
378371
notification:
379372
type: object

0 commit comments

Comments
 (0)