TMAN API Plan (google doc)
create_asset
Method: POST
Input (payload in JSON):
{ "login": "<username for the API>", "unitCode": "<ycba|yuag|ypm>", "filename": "<name of file>", "hotFolderPath": "<path underneath the root of the shared drop area>", "uploadChecksum": "<checksum of the file in the hotfolder>", "cmsType": "<cms type>", "cmsId": <cmsid (int)>, "ingestRequested": <true|false>, "netxFolderID": <folder where the asset should be placed in netx (int)>, "preservicaSecurityTag": "id of the security policy for the asset in preservica", "preservicaColRef": "uuid of the target folder for the asset in preservica", "unitRank": "<int>", "cdsPrimary": <int>, "cdsRank": <int>, "mimeType": "<mime type>", "uuid": "<uuid>", "nativeid": <int>, "imageCredit": "<credit>", "imageCaption": "<caption>", "imageCopyright": "<copyright>", "copyrightInfoURL": "<url>", "copyrightStatus": "<status>", "usageTerms": "<terms>", "imageSource": "<source>", "headline": "<headline>", "imageKeywords": "<keywords>", "jobIdentifier": "<id>", "creator": "<creator>", "creatorRole": "<role>", "imageTitle": "<title>", "instructions": "<instructions>", "bitDepth": "<depth>", "colorProfile": "<profile>", "imageSupplier": "<supplier>", "lens": "<lens>", "lensMake": "<make>", "lensModel": "<model>", "serialNumber": "<sn>", "imageWidth": <int>, "imageHeight": <int>, "datePhotoTaken": "<date>", "tomestone": "<tombstone>", "useStub": <true|false>, "cdsAccessMaster": "<N|P>", "cdsAccessTIFF": "<N|P>", "cdsAccessJPEG": "<N|U|P>", "cdsMaxSizeTIFF": <int>, "cdsMaxSizeJPEG": <int> }
0 Comments