Changes between Version 105 and Version 106 of GAPI_AM_API_DRAFT
- Timestamp:
- 02/04/14 15:28:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GAPI_AM_API_DRAFT
v105 v106 625 625 - Define rules for legal disk image names 626 626 - Define URL rules for exporting images 627 - Define return struct for `listimages`628 627 - Define authorization rules for deleting and listing images 629 628 - Are exportable images always public? Or does public only control what is listable? … … 659 658 Arguments: 660 659 - image URN 661 - credentials, including a valid slice credential for a slice in the same project / sub-slice authority as the slice from which the image was created (or imported)660 - credentials, including a valid slice credential for any slice in the same project / sub-slice authority as the slice from which the image was created (or imported) 662 661 - options 663 662 - `creator_urn`: image creator URN (a valid "user" URN). If not supplied, the current user is assumed … … 681 680 Note that the experimenter who created the image locally or imported it from another aggregate is the image 'creator' for purposes of this method. 682 681 683 Return: a list of structs, each containing the url and urn of the images at this aggregate. Note that only public images will be provided in general, plus images in the same project / sub-slice authority as the slice whose valid slice credential was supplied will be listed. 682 Return: a list of structs, each containing the `url` and `urn` of the images at this aggregate. Note that only public images will be provided in general, plus images in the same project / sub-slice authority as the slice whose valid slice credential was supplied will be listed. 683 {{{ 684 [ 685 {"urn" => <image_urn>, 686 "url" => <image_url> 687 }, 688 .... 689 ] 690 }}} 684 691 685 692 Only users in the same project / sub-Slice Authority may list private images (as authorized by the supplied slice credential). 686 693 687 '''FIXME: Details of return struct'''688 694 '''FIXME: Are those the right authorization rules?''' 689 695 … … 693 699 ''FIXME: Restrictions on the characters legal in the name of an image or image name length?''' 694 700 - Image names should begin with a letter and be alphanumeric or underscore, hyphen, at sign or period: ('[a-zA-Z][a-ZA-Z0-9\-_@\.]{0,63}$'). 701 - '''FIXME''': PG uses `^[a-zA-Z0-9][-\w\.+]+$` 695 702 - Image names are limited to 64 characters. 696 703 - The authority in an image URN is the aggregate hosting the image