Return metadata about image permissions
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/
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
- Started by
- Completed by
- Brian Waldon