Skip to content

Commit

Permalink
Renamed the provider's resource id as shareId
Browse files Browse the repository at this point in the history
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
  • Loading branch information
glpatcern authored Feb 15, 2023
1 parent 81d536c commit a59b273
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ definitions:
required:
- shareWith
- name
- providerId
- resourceId
- shareId
- owner
- sender
- protocols
Expand All @@ -241,17 +240,11 @@ definitions:
example: >-
This is the Open API Specification file (in YAML format) of the Open
Cloud Mesh API.
resourceId:
shareId:
type: string
description: >
Identifier to identify the resource at the provider side. This is
unique per provider.
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
providerId:
type: string
description: >
Identifier to identify the resource at the provider side. This is
unique per provider (deprecated).
Identifier to identify the shared resource at the provider side. This is
unique per provider and per share.
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
owner:
description: |
Expand Down Expand Up @@ -371,9 +364,9 @@ definitions:
description: |
A resource type (e.g. file, calendar, contact)
example: file
providerId:
shareId:
type: string
description: ID of the resource on the provider side
description: ID of the shared resource on the provider side
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
notification:
type: object
Expand Down

0 comments on commit a59b273

Please sign in to comment.