Return metadata about image permissions

Registered by Jay Pipes

Discover Gettable Image Permission Fields

To retrieve information about this set of attributes that will be displayed when retrieving information about an individual image member, you can issue the following call:

GET /v2/form/image/permission

Request body is ignored.

Response will be a 200 OK, with the body containing a JSON-encoded mapping of metadata about the image fields published by the registry server:

{
 ‘_type’: ‘form’,
 ‘action’: ‘GET’,
 ‘type’: ‘image.permission’,
 ‘fields’: [
   {
   ‘name’: ‘account’,
   ‘type': 'string'
   },
   {
   ‘name’: 'can_share',
   'type': 'boolean',
   }
}

The account field identifies an account with which the image is shared. If that account is authorized to further share the image with another account, the can_share field will be true.

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Medium
Drafter:
Jay Pipes
Direction:
Approved
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Brian Waldon

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.