The Library is an area where a User can upload content (images, etc) to allow it to be used when creating a Project.
There are 2 ways of providing an image to the library, as well as multi image at once variations:
Method | Explanation |
---|---|
Push | The image is directly uploaded from the application to the MILK API via an HTTP POST. For example, useful if the application is a native application and has the image locally. |
Pull | A URL is sent to the MILK API. The image is downloaded from the URL by MILK and put into the library that way. For example, useful if the image is already hosted by a web application. |
Multi Push | Multiple images are directly uploaded in one request from the application to the MILK API via an HTTP POST. |
Multi Pull | A list of URLs is sent to the MILK API. The images are downloaded from the URLs by MILK and put in to the library. |
All methods of placing images into the library include a shortcut, which allow an anonymous user to be created automatically.
Authentication Method | Result |
---|---|
Internal Token | Library item is created for the corresponding User. |
External User Token | Library item is created for the corresponding external user. |
API Key | An Anonymous User is created and the library item is associated with it. |
External Application Token | An Anonymous User is created and the library item is associated with it. |