Changes between Version 105 and Version 106 of GAPI_AM_API_DRAFT


Ignore:
Timestamp:
02/04/14 15:28:23 (10 years ago)
Author:
Aaron Helsinger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GAPI_AM_API_DRAFT

    v105 v106  
    625625 - Define rules for legal disk image names
    626626 - Define URL rules for exporting images
    627  - Define return struct for `listimages`
    628627 - Define authorization rules for deleting and listing images
    629628 - Are exportable images always public? Or does public only control what is listable?
     
    659658Arguments:
    660659 - 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)
    662661 - options
    663662  - `creator_urn`: image creator URN (a valid "user" URN). If not supplied, the current user is assumed
     
    681680Note that the experimenter who created the image locally or imported it from another aggregate is the image 'creator' for purposes of this method.
    682681
    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.
     682Return: 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}}}
    684691
    685692Only users in the same project / sub-Slice Authority may list private images (as authorized by the supplied slice credential).
    686693
    687 '''FIXME: Details of return struct'''
    688694'''FIXME: Are those the right authorization rules?'''
    689695
     
    693699''FIXME: Restrictions on the characters legal in the name of an image or image name length?'''
    694700 - 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\.+]+$`
    695702 - Image names are limited to 64 characters.
    696703 - The authority in an image URN is the aggregate hosting the image