{"swagger":"2.0","host":"api-34.grand-shooting.com/","basePath":"/v3","schemes":["https"],"info":{"title":"Grand Shooting API Documentation","version":"3.3.1","description":"\n\n## Handle HTTP status\n\nWe respect HTTP standard and REST architecture.\n\nMost of cases you will receive a success response contained in this table:\n\n|HTTP code |Description |\n|-------------------------------|-----------------------------|\n|102|**PENDING.** The request is threated and takes some time. |\n|200|**OK**. The request is threated with success. |\n|201|**Created**. The request is threated with success and a content is created (e.g. for a POST request).|\n|204|**No Content**. The request is threated with success but return no content in the response.|\n\nPlease refer to the following table for identify your problem if you receive an HTTP error:\n\n|HTTP code |Description |\n|-------------------------------|-----------------------------|\n|400|**Bad request**, in the response, you will see which field is missing or invalid. Generally, each object column, when specified, must contain a value and should not be left empty. |\n|401|**Unauthorized**, check if you passed the Authorization Header. |\n|404|**Not found**, the ressource is missing (e.g A user who have been deleted).|\n|405|**Method not allowed**, the server know the endpoint used but don't permit this method.|\n|500|**Internal server error**, bad news it seems we have a problem.|\n\n>**If you have an unidentified response, don't hesitate to contact our support.**\n\nNow you are be able to request all of our endpoints.\n\n## Rate limiting\n\nRate limiting is on account basis, or more accurately described, per authentication key. There is a limit on the number of simultaneous requests: you can call up to 5 requests per second.\n\n>When you exceed this rate limit for any endpoint of our API, the API will return a HTTP 429 “Too Many Requests” response code, and the following error will be returned in the response body:\n\n    { \"errors\": [ { \"message\": \"Rate limit exceeded\" } ] }\n\n## Authentication\n\nThe Grand Shooting API supports two authentication methods depending on your use case:\n\n### Bearer Token Authentication\n\nThis is the standard authentication method for direct API access using tokens issued by the account management module.\n\nInclude the Bearer token in the Authorization header:\n\n    Authorization: Bearer your_token_here\n\nExample:\n    curl -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\" https://api-34.grand-shooting.com/v3/production\n\n### OAuth Access Token Authentication\n\nThis method is used for connector integrations that authenticate via OAuth flow.\n\nInclude the access token in the Authorization header:\n\n    Authorization: access_token your_oauth_access_token\n\nExample:\n    curl -H \"Authorization: access_token ya29.a0AfH6SMC...\" https://api-34.grand-shooting.com/v3/production \n\n> **Note**: Choose the authentication method that best fits your integration:\n> - Use **Bearer Token** for direct API integrations and applications\n> - Use **OAuth Access Token** for connector integrations that follow OAuth 2.0 flow\n\n## The model\n\nIf you start coding with our API, you may be interested in having a first global overview of the main concepts behind Grand Shooting.\n\n> **Note**:  The platform supports images and videos. This documentation is equally applicable to both and we may use indifferently the two words (images or videos). So, keep in mind that when we describe a feature, it is always applicable to both images and videos.\n\n### Productions and Benches\n\nA production is a bunch of images that is processed according to a declared workflow. Every step of the workflow is called a bench.\n\nA classic production is composed of 3 benches:\n 1. Capture (corresponds to the “LIVE” feature of the web application)\n 2. Retouching (often called “Phase 1”)\n 3. Exports (see below) / Validation\n\nYou can have 2 retouching benches within the same production. It can be useful for instance if you want a first stage to clean up images with basic operations then a second stage with more in-depth retouching.\n\n**Retouching is optional**: you can create a production with no retouching bench.\nOn the contrary Capture, Exports and Validation are mandatory.\n\n>**Be careful**: you can update benches and delete retouching benches as long as no files has been loaded. If you delete a bench that contains files, they will be immediately deleted, and you won’t have the possibility to recover them.\n\nTo distinguish the benches within a production, the API includes a parameter called benchsetptype wich can take these values:\n - 10 – Capture\n - 20 – Retouching (phase 1)\n - 30 – Retouching (phase 2)\n - 40 – Exports / Validation\n\n### Exports and Validation\n\nExports refers to a specific bench of the production: the one before the validation bench.\n\nThe way you interact with images inside export and validation benches differs from the interactions within the first benches of the production: you load images to capture and retouching benches, but you just trigger exports to process retouched images. And the processed images are automatically dropped to the validation bench.\n\nSo, you never load images either to export benches nor to validation benches.\n\n> **Be careful**: don’t delete retouching benches if they already contain files. Otherwise you would not be able to trigger exports for this production anymore and you would have to start again with a new production.\n\n### Templates\n\nUsing the web application, you can create new productions from scratch then set up all the parameters by hand: the number of benches, user accesses on every bench, the settings for the export bench, and so on.\n\nIt doesn’t really have sense to give this level of precision from our API because the purpose of the API is to automate repetitive workflows.\n\nThat’s why you first create templates with predefined settings from the web application. Then, from the API, you instance new productions giving in parameters the Id of the template.\n\n\n\n### Shooting methods\n\nPhoto shoot sessions can be differentiated thanks to shooting methods.\n\nBasically, a shooting method represents a specific way to get pictures of products: it can be products wared on models or it can be still life. You may also use different shooting methods to distinguish photos produced with different machines or technologies.\n\nTherefore, shooting methods give you full control on how you want to monitor the productions: they appear on almost all reports and you will be able to filter for the values they can take.\n\n> **Note**: if you have questions about the best shooting method values for your organization, feel free to ask the support team for advice.\n\nShooting methods are set up from the web application with admin credentials. From the API, you can list them.\n\n\n### The catalog and its references\n\nIt is one of the big features of Grand Shooting: every image or video can be linked to a catalog. Thus, you will be able to organize image production by product references.\n\nThere is only one catalog. But you can combine products from different brands within the same catalog. The attributes stored in Grand Shooting are quite classic:\n - Up to 3 levels of categories (univers, gamme, family)\n - Brand Model\n - reference (product_ref)\n - Color\n - Size\n - Description,\n - collection,\n - gender\n - SKU\n - EAN\n\nEvery item in the catalog is identified in Grand Shooting by another attribute called 'ref' (for product reference). This 'ref' attribute can be a unique id, but it is commonly generated from other attributes.\n\nFor example, in the ready to wear market we need to take pictures not only of all product models but also of all color declinations. Then the ref attribute will be constructed from the model reference attribute concatenated with the color attribute.\n\nExample:\nModel: S18BOHEMIAN  \nColor: 110  \nRef: SS18BOHEMIAN_110\n\n> **Important**: keep in mind that 'ref' values should be unique in the catalog and that they refer to the product that need to be taken in photo.\n\nThe 'EAN' attribute is usefull if the samples do have barcodes. In the web application, typing the ref attribute of a product or scanning is barcode is strictly the same. That’s why 'EAN' values should also be unique.\n\n> **Note**: even if the attribute’s name is 'EAN', you don’t have to comply with 'EAN' standard (we don’t check the parity byte)\n\n> **Note**: sometimes you have multiple sizes of the same product references and you don’t know in advance which samples will be shot. Then you don’t know which 'EAN' have to be stored in you catalog. Don’t worry we already faced this issue many times, the support team will help you to find the solution.\n\n### Shotlist : list of products to be shot\n\nFrom Grand Shooting’s web application, the guidelines define per product category how many images are attempted and what are the technical specifications of these images (in terms of size, resolution, ICC profile, …).\n\nShotlists make an inventory of existing images for every product in your catalog. They explicit the status of the images in your workflow and reveal alerts if an image does not comply with the guidelines.\n\nMore generally shotlists can be seen as the cockpit where you can see the work in progress from the point of view of the catalog.\n\n### Looks : group of references visible on the same images\n\nThis feature is useful especially for the ready to ware market.\n\nImagine a model wearing clothes: shoes, a pant, a shirt, a coat, … All these clothes make something up called a look.\n\nIn this case the looks are mostly composed before starting the photo shoot session. That’s why it makes sense to link images directly to the look and not to product references.\n\n>**Be careful**: the name of the looks have be different of the names of product references in the catalog.\n\n## Getting started\n\n### Our first production\n\nSo, let’s start with the API. We will stay simple and create a basic production. To do this, simply send the following request:\n\n    POST https://api-34.grand-shooting.com/v3/production\n\nWith the body:\n```json\n    {  \n    \"smalltext\": \"My first production\",  \n    \"startdate\": \"2017-03-27T07:00:00.000Z\",\n    \"enddate\": \"2017-03-27T16:00:00.000Z\",\n    \"timezone\": \"Europe/Paris\",\n    \"tzoffset\": 60,\n    \"shooting_method_id\": 1,  \n    \"bench_template_id\": 1  \n    }\n```\n\nThe 2 main parameters are 'shooting_method_id' and 'bench_template_id'. They refer to the shooting method and to the template. They are the only parameters that cannot be changed once the production is created.\n\nWe set a smalltext “'My first production'” that will be viewable on the web application as the title of the production.\n\nThe 'startdate' parameter gives information about the day the first images shall be uploaded to this production. Usually it is the date of the photo shoot session. The time zone is explicitly set.\n\n'enddate', 'timezone' and 'tzoffset' are optional. In this example the parameters are set to a capture session starting at 7.00 am and ending at 4.00 pm. If omitted, the timezone is set to \"Europe/Paris\".\n\n### List the benches of a production\n\nNow to list all the productions call this request:\n\n    GET /production\n\nIt will return an array with all the productions, like this one:\n```json\n    [ \n        [\n            {\n            \"smalltext\": \"My first production\",\n            \"startdate\": \"2017-03-27T07:00:00.000Z\",\n            \"enddate\": null,\n            \"timezone\": \"Europe/Paris\",\n            \"tzoffset\": 60,\n            \"shooting_method_id\": 1,\n            \"bench_id\": 1,\n            \"parent_id\": null,\n            \"root_id\": 1,\n            \"benchsteptype\": 10\n            },\n            {\n            \"smalltext\": \"My first production (Retouching)\",\n            \"startdate\": \"2017-03-27T07:00:00.000Z\",\n            \"enddate\": null,\n            \"timezone\": \"Europe/Paris\",\n            \"tzoffset\": 60,\n            \"shooting_method_id\": 1,\n            \"bench_id\": 2,\n            \"parent_id\": 1,\n            \"root_id\": 1,\n            \"benchsteptype\": 20\n            },\n            {\n            \"smalltext\": \"My first production (Export)\",\n            \"startdate\": \"2017-03-27T07:00:00.000Z\",\n            \"enddate\": null,\n            \"timezone\": \"Europe/Paris\",\n            \"tzoffset\": 60,\n            \"shooting_method_id\": 1,\n            \"bench_id\": 3,\n            \"parent_id\": 2,\n            \"root_id\": 1,\n            \"benchsteptype\": 40\n            }\n        ]\n    ]\n```\n\nYou can see that the previously created production contains 3 benches: Capture ('benchsteptype' = 10), Retouching ('benchsteptype' = 20) and validation ('benchsteptype' = 40).\n\nBenches are chained:\n - The first bench of a production has no 'parent_id'.\n - The 'root_id' is the id of the first bench for all benches of the production.\n - From one bench to the next one you can see that the 'parent_id' changed.\n\n> **Note** : By convention, the 'smalltext' attribute of the first bench of a production is repeated for all benches (\"My first production\" in this example). Then, the specific name of a bench is set between parenthesis (\"Retouching\" and \"Export\" in this example). The first bench of a production can't have any specific name as it is always set as \"Live\".\n\nIf you want to list all productions but not all benches of production, you can filter the benches with null as parent_id.\n\n### Load bench of a production\n\nIf you need the details about a specific bench, you can call this endpoint:\n\n    GET /production/{bench_root_id}/bench/{bench_id}\n\nYou will get just the bench:\n\n    {\n    \"smalltext\": \"My first production (Export)\",\n    \"startdate\": \"2017-03-27T07:00:00.000Z\",\n    \"enddate\": null,\n    \"timezone\": \"Europe/Paris\",\n    \"tzoffset\": 60,\n    \"shooting_method_id\": 1,\n    \"bench_id\": 3,\n    \"parent_id\": 2,\n    \"root_id\": 1,\n    \"benchsteptype\": 40\n    }\n\n### List the pictures of a bench\n\nOnce you created a production and you know there are some pictures, you may want to list them. Super easy, just send this request:\n\n    GET https://api-34.grand-shooting.com/v3/picture?bench_id=3\n\nIn this example we list images from the third bench. The body of the response is an array of picture objects like this one:\n\n    {\n    \"picture_id\": 3,\n    \"bench_id\": 3,\n    \"bench_root_id\": 1,\n    \"ref\": \"3596654282833\",\n    \"path\": \"4c76bb10-d028-4988-b008-01a97c38a232/3596654282833_3.jpg\",\n    \"smalltext\": \"3596654282833_3.jpg\",\n    \"picturestatus\": 50,\n    \"filesize\": 503637,\n    \"reference_id\": 1,\n    \"child_ids\": [],\n    \"parent_id\": 2\n    }\n\n#### File name and path\nBasically you can consider that a bench is a secured folder in which files are stored. Files can be organized in subfolders and the path attribute indicates the exact location of a file inside the bench.\n\nSo, there might be 2 images with the same filename \"3596654282833_3.jpg\" in this bench. But there can be just one image with this path \"\"4c76bb10-d028-4988-b008-01a97c38a232/3596654282833_3.jpg\".\n\n#### Picture status\n'picturestatus' attribute refers to the status of an image (or video) inside a production. It can take one of these values :\n\n|HTTP code |Description |\n|-------------------------------|-----------------------------|\n|5|**RESHOOT**, Image to be shot again. |\n|10|**NOT SELECTED**, Image in the Live with default status |\n|30|**SELECTED**, Image in the Live selected for retouching |\n|31|**REFUSED**, Image refused, need some more work |\n|35|**REFUSED**, Image refused by the retouchers |\n|40|**FOR APPROVAL**, Image submitted for approval |\n|50|**VALIDATED**, Image validated |\n|52|**ERROR**, Error during the tranfer to the DAM |\n|55|**RELEASED**, Image transferred to the DAM |\n\n\n> **Head's up !** : the status of a picture and the type of its bench are correlated. For instance a bench that corresponds to a Live ('benchsteptype' = 10) should only have pictures with status 5, 10 or 30. And a bench that corresponds to a validation step should only have pictures with status above than 40, except for the refused image ('picturestatus' = 31).\n\n\n> **Note** : Even if an image is not selected (in the Live bench), it can be retouched in the retouching benches then exported for approval. And of course a refused image can be retouched again and exported again for approval.\n\nIf Grand Shooting is integrated with a PIM, a DAM or Amazon S3, images will automatically take these status after having been transferred. In most cases, only validated images are transferred.\n\nWhat is the difference between the 2 **REFUSED** status ?\nThe common way to refuse an image is in the export bench :  the status value of the image is 31. But an image can also be refused by a retoucher in the bench for retouching : in this case the status value is 35.\n\n\n### Upload images\n\nWe learned how to list the productions and their benches. Now let's try to upload images.\n\n    POST /production/{bench_root_id}/bench/{bench_id}/upload\n\nWith a multipart body:\n\n\nAs you can see, it is very simple to integrate our API and manage image productions from your own applications: with few lines of code, you instantiate new productions then load / download images to / from the benches.\n\nKeep in mind that the way you manage images within benches for capture and retouching differs from the interactions you can have with images within benches for export and validation.\n\n## Webhooks\n\nWebhook is a pattern that allows external systems to be notified of events occuring in a Sass plaform.\n\n### Contribution\n\nYou can contribute urls in the administration console that will be notified of picture modifications events. You reference your url to be called for certain types of events :\n - picture creation\n - picture modification\n - picture deletion\n - reference creation\n - reference modification\n\nNote : you can reference the same url for different types of events.\n\n### Process\nWhen a picture is modified in Grand Shooting, the system stores the event in a queue.\nEvery 10 seconds, events are read from the queue and sent to the external url in a \"POST\" http call with a JSON body containing modified data \nExample : \n\n        {\n          \"account_id\": 10229487,\n          \"topic\": \"pictures/update\",\n          \"type\": \"picture\",\n          \"ids\": [\n            175,\n            176\n          ],\n          \"picture_id\": [ //Deprecated\n            175,\n            176\n          ],\n          \"data\": {\n            \"175\": {\n              \"picture_id\": 175,\n              \"bench_id\": 19,\n              \"bench_root_id\": 19,\n              ...\n            },\n            \"176\": {\n              \"picture_id\": 176,\n              \"bench_id\": 19,\n              \"bench_root_id\": 19,\n              ...\n            }\n          }\n        }\n - A message contains at most 50 data elements. (If there are more than 50 data elements modified, a second http call will be processed)\n - A message is concidered in success the url returns a http response code of 200\n - If a timeout occurs when calling the url or if it returns something else than a code 200, the message is concidered not delivered.\n   - The system will retry twice to send the message (after 10 seconds, and after 1 minute) \n   - The system won't send any other message to the url for the same topic until it gets a code 200 response or all 3 tries are sent.\n - Deprecation : picture_id array field is deprecated and will be removed in next major version. You should use ids field instead\n\n","x-logo":{"url":"https://cdn.prod.website-files.com/66632fdb5bcfed2024f52ff8/66f481864f28dc3773699a61_gs.svg","href":"https://www.grand-shooting.com","altText":"Grand Shooting"},"contact":{"email":"help@grand-shooting.com"}},"securityDefinitions":{"Bearer":{"type":"apiKey","name":"Authorization","in":"header","description":"You can obtain a token from Grand Shooting administration pages.\n\nYou can use it by sending the header \"Authorization\" with value \"Bearer (your token)\"\n            "}},"produces":["application/json"],"security":[{"Bearer":[]}],"tags":[],"paths":{"/broadcast":{"get":{"summary":"List broadcasts","operationId":"getBroadcast","description":"\nReturn an array of broadcasts with a pagination.\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers:\n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model2"},"description":"Successful"}}},"post":{"summary":"Create broadcast","operationId":"postBroadcast","description":"You can create only 10 broadcasts","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model72"}}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model73"},"description":"Successful"}}}},"/picture":{"get":{"summary":"List pictures","operationId":"getPicture","description":"\nReturn an array of pictures with a pagination of 100.\n\nYou can filter by giving query parameters with the following logic :\n * picturestatus=50 : filter pictures with picturestatus = 50\n * picturestatus=50&picturestatus=40 : filter pictures with picturestatus = 50 OR picturestatus = 40\n * picturestatus=gte:50 : filter pictures with picturestatus greater than or equal to 50 (available options are gt gte lt lte)\n * picturestatus=gte:50&picturestatus=lte:55 : filter pictures with picturestatus greater than or equal to 50 AND less than or equal to 55\n\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers: \n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n\nThere are limitations as you can't go beyond 10000 using the offset header. If you need to retreive more data, you can use the search parameter with \"gte:last value retreived\" in combination with the sort_by parameter.\n\nExample:\n * first call: picture_id=gte:0&sort_by=picture_id\n * second call: picture_id=gte:100&sort_by=picture_id\n * third call: picture_id=gte:200&sort_by=picture_id\n * etc...\n\n","parameters":[{"type":"number","description":"offset for pagination, you can't go beyond 10000","minimum":0,"maximum":10000,"name":"offset","in":"header"},{"type":"string","description":"id of the picture","name":"picture_id","in":"query"},{"type":"string","description":"id of the bench the picture belongs to","name":"bench_id","in":"query"},{"type":"string","description":"id of the bench the picture belongs to","name":"bench_root_id","in":"query"},{"type":"string","description":"workflow step of production","name":"benchsteptype","in":"query"},{"type":"string","description":"ref extracted from picture","name":"ref","in":"query"},{"type":"string","description":"ref value of linked reference from catalog","name":"reference_ref","in":"query"},{"type":"string","description":"path of the picture in the repository","name":"path","in":"query"},{"type":"string","description":"path of the picture","name":"file_path","in":"query"},{"type":"string","description":"picture filename","name":"smalltext","in":"query"},{"type":"string","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","name":"picturestatus","in":"query"},{"type":"string","description":"filesize","name":"filesize","in":"query"},{"type":"string","description":"width","name":"width","in":"query"},{"type":"string","description":"height","name":"height","in":"query"},{"type":"string","description":"reference_id","name":"reference_id","in":"query"},{"type":"string","description":"parent picture","name":"parent_id","in":"query"},{"type":"string","description":"icc profile of image","name":"icc_profile","in":"query"},{"type":"string","description":"url of thumbnail","name":"thumbnail","in":"query"},{"type":"string","description":"hash computed from image content","name":"hash","in":"query"},{"type":"string","description":"identifier of file content","name":"file_id","in":"query"},{"type":"string","description":"view type code","name":"view_type_code","in":"query"},{"type":"string","description":"transfert date of the picture (in Grand Shooting)","name":"transfer_date","in":"query"},{"type":"string","description":"creation date of the picture (in Grand Shooting)","name":"date_cre","in":"query"},{"type":"string","description":"last modification date of the picture (in Grand Shooting)","name":"date_mod","in":"query"},{"type":"string","description":"Validation date","name":"validation_date","in":"query"},{"type":"string","description":"name of the export","name":"export","in":"query"},{"type":"string","description":"status of export","name":"exportpicturestatus","in":"query"},{"type":"string","description":"name of the shooting method","name":"shootingmethod","in":"query"},{"type":"string","description":"ID of look","name":"look_id","in":"query"},{"type":"string","description":"alerts","name":"alerts","in":"query"},{"type":"string","description":"Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending.","name":"sort_by","in":"query"},{"type":"string","description":"tags","name":"taginfo.tags","in":"query"},{"type":"string","description":"label","name":"taginfo.label","in":"query"},{"type":"string","description":"rating","name":"taginfo.rating","in":"query"},{"type":"string","description":"reference_ids","name":"reference_ids","in":"query"},{"type":"string","description":"refs","name":"refs","in":"query"},{"type":"string","description":"child_ids","name":"child_ids","in":"query"},{"type":"string","description":"search string","name":"search","in":"query"},{"type":"boolean","description":"activates wildcard search","default":true,"name":"search_wildcard","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["picture"],"responses":{"200":{"schema":{"$ref":"#/definitions/Pictures"},"description":"Successful"}}}},"/production":{"get":{"summary":"List productions","operationId":"getProduction","description":"Retrieves a list of productions. By default, only active productions are included (archived=false).\nTo retrieve all productions including archived ones, use the query parameter ?archived=true","parameters":[{"type":"string","description":"Bench label","name":"smalltext","in":"query"},{"type":"string","format":"date","description":"Start date","name":"startdate","in":"query"},{"type":"string","format":"date","description":"End date","name":"enddate","in":"query"},{"type":"string","description":"Timezone","name":"timezone","in":"query"},{"type":"number","description":"Timezone offset","name":"tzoffset","in":"query"},{"type":"number","description":"Shooting method ID","name":"shooting_method_id","in":"query"},{"type":"number","description":"Bench ID","minimum":1,"name":"bench_id","in":"query"},{"type":"number","description":"Parent ID","minimum":1,"name":"parent_id","in":"query"},{"type":"number","description":"Root ID","minimum":1,"name":"root_id","in":"query"},{"type":"string","description":"Repo ID","name":"ext_lib_id","in":"query"},{"type":"string","name":"meta_export_info","in":"query"},{"type":"string","description":"Url of a briefing giving information on production procedures","name":"briefing","in":"query"},{"type":"string","name":"location","in":"query","x-type":"object","x-properties":{"address_line1":{"type":"string"},"address_line2":{"type":"string"},"zipcode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"country_iso2":{"type":"string"}}},{"type":"number","description":"Worlflow step for the bench.\n\t\t10 : Live\n\t\t20 : 1rst postprod step\n\t\t30 : 2nd postprod step\n\t\t40 : export step\n\t","enum":[10,20,30,40],"name":"benchsteptype","in":"query"},{"type":"number","description":"User access for bench","enum":[10,15,20,25,40,50,60],"name":"benchaccess","in":"query"},{"type":"number","description":"Status of the bench.\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed\n\t","enum":[10,20,30,35,40,50],"name":"benchstatus","in":"query"},{"type":"string","description":"Free information stored with production","name":"info","in":"query","x-type":"object"},{"type":"array","description":"Description of what that can be stored in \"info\" field","items":{"type":"string","x-type":"object","x-properties":{"key":{"type":"string","description":"used to identify column in import and export files"},"label":{"type":"string","description":"used for display in screens"},"type":{"type":"string","description":"the type of the column"}}},"collectionFormat":"multi","name":"info_model","in":"query"},{"type":"string","description":"Label of step","name":"step_label","in":"query"},{"type":"boolean","description":"Indicates if bench is archived","name":"archived","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Production%20list"},"description":"Successful"}}},"post":{"summary":"Create production","operationId":"postProduction","description":"Create a production in which you can load images.\n\t\t\t\tA production is built on a workflow with different steps. Each step is a bench in which you can load images.\n\t\t\t\tIf you wan't a specific workflow, you can apply a template.\n\t\t\t\tThe default workflow is :\n * live (benchsteptype : 10)\n * post production step (benchsteptype : 20) optional\n * post production step (benchsteptype : 30) optional\n * export (benchsteptype : 40)\n\t\t\t","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Production%20info"}}],"produces":["application/json"],"tags":["production"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/reference":{"get":{"summary":"List references","operationId":"getReference","description":"\nReturn an array of references with a pagination of 100.\nYou can set the offset of pagination with the header 'offset'.\nResponse headers: \n\t'X-Total-Count': Total number of items\n\t'X-Offset': Offset of the result\n\t'X-Count': Size of the result\n","parameters":[{"type":"string","description":"id of the reference","name":"reference_id","in":"query"},{"type":"string","description":"Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending.","name":"sort_by","in":"query"},{"type":"string","description":"reference label identifier","name":"ref","in":"query"},{"type":"string","description":"main ean","name":"ean","in":"query"},{"type":"string","description":"alternatives ean","name":"eans","in":"query"},{"type":"string","description":"rich ean information","name":"eans_extended","in":"query"},{"type":"string","description":"univers, level 1 in catalog hierarchy","name":"univers","in":"query"},{"type":"string","description":"gamme, level 2 in catalog hierarchy","name":"gamme","in":"query"},{"type":"string","description":"family, level 3 in catalog hierarchy","name":"family","in":"query"},{"type":"string","description":"sku","name":"sku","in":"query"},{"type":"string","description":"brand","name":"brand","in":"query"},{"type":"string","description":"reference label","name":"smalltext","in":"query"},{"type":"string","description":"product category identifier","name":"category_id","in":"query"},{"type":"string","description":"product identifier","name":"product_ref","in":"query"},{"type":"string","description":"product label","name":"product_smalltext","in":"query"},{"type":"string","description":"gender","name":"gender","in":"query"},{"type":"string","description":"gender","name":"gender_smalltext","in":"query"},{"type":"string","description":"color","name":"color","in":"query"},{"type":"string","description":"Code couleur RGB en hexa décimal","name":"hexa_color","in":"query"},{"type":"string","description":"size","name":"size","in":"query"},{"type":"string","description":"collection","name":"collection","in":"query"},{"type":"string","description":"comment","name":"comment","in":"query"},{"type":"string","description":"tags","name":"tags","in":"query"},{"type":"string","description":"Extra data","name":"extra","in":"query"},{"type":"string","description":"id of a shotlist to add reference to","name":"shotlist_id","in":"query"},{"type":"string","description":"name of a shotlist to add reference to (shotlist will be created if it doesnt exists)","name":"shotlist","in":"query"},{"type":"string","description":"creation date of the reference (in Grand Shooting)","name":"date_cre","in":"query"},{"type":"string","description":"last modification date of the reference (in Grand Shooting)","name":"date_mod","in":"query"},{"type":"string","description":"online date","name":"online","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/References"},"description":"Successful"}}},"post":{"summary":"Create / update a reference.","operationId":"postReference","description":"If a reference already exists with the same \"ref\", this reference will be updated. Otherwise, a new reference is created. Return the corresponding reference item with the generated id","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Reference"}}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Reference"},"description":"Successful"}}}},"/shootingmethod":{"get":{"summary":"List shooting methods","operationId":"getShootingmethod","description":"List all shooting methods","produces":["application/json"],"tags":["shootingmethod"],"responses":{"200":{"schema":{"$ref":"#/definitions/Shooting%20methods"},"description":"Successful"}}},"post":{"summary":"Shooting method","operationId":"postShootingmethod","description":"Create or update a shooting method","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Shooting%20Method"}}],"produces":["application/json"],"tags":["shootingmethod"],"responses":{"200":{"schema":{"$ref":"#/definitions/Shooting methods"},"description":"Successful"}}}},"/stock":{"get":{"summary":"Stock positions","operationId":"getStock","description":"List references with stock items\nReturn an array of references with a pagination of 100.\nYou can set the offset of pagination with the header 'offset'.\nResponse headers: \n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","parameters":[{"type":"number","description":"offset for pagination","minimum":0,"name":"offset","in":"header"},{"type":"string","description":"id of the stock item","name":"stock_item_id","in":"query"},{"type":"string","description":"Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending.","name":"sort_by","in":"query"},{"type":"string","description":"id of the batch in which the stock item is stored","name":"batch_id","in":"query"},{"type":"string","description":"Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost\n","name":"stock_item_status","in":"query"},{"type":"string","description":"creation date of the reference (in Grand Shooting)","name":"date_cre","in":"query"},{"type":"string","description":"last modification date of the reference (in Grand Shooting)","name":"date_mod","in":"query"},{"type":"string","description":"id of the reference","name":"reference_id","in":"query"},{"type":"string","description":"reference label identifier","name":"ref","in":"query"},{"type":"string","description":"main ean","name":"ean","in":"query"},{"type":"string","description":"alternatives ean","name":"eans","in":"query"},{"type":"string","description":"rich ean information","name":"eans_extended","in":"query"},{"type":"string","description":"univers, level 1 in catalog hierarchy","name":"univers","in":"query"},{"type":"string","description":"gamme, level 2 in catalog hierarchy","name":"gamme","in":"query"},{"type":"string","description":"family, level 3 in catalog hierarchy","name":"family","in":"query"},{"type":"string","description":"sku","name":"sku","in":"query"},{"type":"string","description":"brand","name":"brand","in":"query"},{"type":"string","description":"reference label","name":"smalltext","in":"query"},{"type":"string","description":"product category identifier","name":"category_id","in":"query"},{"type":"string","description":"product identifier","name":"product_ref","in":"query"},{"type":"string","description":"product label","name":"product_smalltext","in":"query"},{"type":"string","description":"gender","name":"gender","in":"query"},{"type":"string","description":"gender","name":"gender_smalltext","in":"query"},{"type":"string","description":"color","name":"color","in":"query"},{"type":"string","description":"Code couleur RGB en hexa décimal","name":"hexa_color","in":"query"},{"type":"string","description":"size","name":"size","in":"query"},{"type":"string","description":"collection","name":"collection","in":"query"},{"type":"string","description":"comment","name":"comment","in":"query"},{"type":"string","description":"tags","name":"tags","in":"query"},{"type":"string","description":"Extra data","name":"extra","in":"query"},{"type":"string","description":"id of a shotlist to add reference to","name":"shotlist_id","in":"query"},{"type":"string","description":"name of a shotlist to add reference to (shotlist will be created if it doesnt exists)","name":"shotlist","in":"query"},{"type":"string","description":"online date","name":"online","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Stock%20items"},"description":"Successful"}}},"post":{"summary":"add to stock","operationId":"postStock","description":"Add a reference in stock","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model75"}}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Stock%20item"},"description":"Successful"}}}},"/transfer":{"get":{"summary":"List transfer","operationId":"getTransfer","description":"List transfer available","produces":["application/json"],"tags":["transfer"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"summary":"Create a transfer","operationId":"postTransfer","description":"Create a new transfer container","produces":["application/json"],"tags":["transfer"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model47"},"description":"Successful"}}}},"/webhook":{"get":{"summary":"List webhooks","operationId":"getWebhook","description":"Return webhook","produces":["application/json"],"tags":["webhook"],"responses":{"200":{"schema":{"$ref":"#/definitions/Webhooks"},"description":"Successful"}}},"post":{"summary":"Create a webhook","operationId":"postWebhook","description":"Return webhook","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model76"}}],"produces":["application/json"],"tags":["webhook"],"responses":{"200":{"schema":{"$ref":"#/definitions/Webhook%20example%20request"},"description":"Successful"}}}},"/broadcast/{broadcast_id}":{"get":{"summary":"Get broadcast","operationId":"getBroadcastBroadcast_id","description":"Get specific broadcast.","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model9"},"description":"Successful"}}},"put":{"summary":"Modify broadcast","operationId":"putBroadcastBroadcast_id","description":"Modify all fields of a broadcast.","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model116"}}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model117"},"description":"Successful"}}},"patch":{"summary":"Update broadcast","operationId":"patchBroadcastBroadcast_id","description":"Update specifics fields of a broadcast.","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model137"}}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model138"},"description":"Successful"}}},"delete":{"summary":"Delete a broadcast","operationId":"deleteBroadcastBroadcast_id","description":"Pictures will not be broadcasted anymore.","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true}],"produces":["application/json"],"tags":["broadcast"],"responses":{"204":{"schema":{"type":"string","example":""},"description":"No Content"}}}},"/picture/aggregate":{"get":{"summary":"Search pictures with an aggregation criteria","operationId":"getPictureAggregate","description":"\nYou can filter by giving query parameters with the same logic as the GET /picture endpoint.\nWhat is different is that you can group by a field using the group_by_field parameter.\n\nPagination logic is the same as the GET /picture endpoint except that you can't use the sample_size header to set the size of the aggregation samples (number of items in each aggregation).\n\nYou can sort the aggregation results using the sort_by parameter. Supported fields include date_cre, reference_ref, and other fields that can be used for grouping. Add a '+'/'-' character before the field name to specify ascending or descending order (e.g., sort_by=+reference_ref or sort_by=-date_cre).\n\nResponse headers: \n* 'X-Total-Count': Total number of items\n* 'X-Offset': Offset of the result\n* 'X-Count': Size of the result\n\t\t\t","parameters":[{"type":"number","description":"size for pagination","minimum":0,"maximum":100,"name":"size","in":"header"},{"type":"number","description":"offset for pagination","minimum":0,"maximum":10000,"name":"offset","in":"header"},{"type":"number","description":"size for aggregation samples","minimum":1,"maximum":5,"name":"sample_size","in":"header"},{"type":"string","description":"id of the picture","name":"picture_id","in":"query"},{"type":"string","description":"id of the bench the picture belongs to","name":"bench_id","in":"query"},{"type":"string","description":"id of the bench the picture belongs to","name":"bench_root_id","in":"query"},{"type":"string","description":"workflow step of production","name":"benchsteptype","in":"query"},{"type":"string","description":"ref extracted from picture","name":"ref","in":"query"},{"type":"string","description":"ref value of linked reference from catalog","name":"reference_ref","in":"query"},{"type":"string","description":"path of the picture in the repository","name":"path","in":"query"},{"type":"string","description":"path of the picture","name":"file_path","in":"query"},{"type":"string","description":"picture filename","name":"smalltext","in":"query"},{"type":"string","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","name":"picturestatus","in":"query"},{"type":"string","description":"filesize","name":"filesize","in":"query"},{"type":"string","description":"width","name":"width","in":"query"},{"type":"string","description":"height","name":"height","in":"query"},{"type":"string","description":"reference_id","name":"reference_id","in":"query"},{"type":"string","description":"parent picture","name":"parent_id","in":"query"},{"type":"string","description":"icc profile of image","name":"icc_profile","in":"query"},{"type":"string","description":"url of thumbnail","name":"thumbnail","in":"query"},{"type":"string","description":"hash computed from image content","name":"hash","in":"query"},{"type":"string","description":"identifier of file content","name":"file_id","in":"query"},{"type":"string","description":"view type code","name":"view_type_code","in":"query"},{"type":"string","description":"transfert date of the picture (in Grand Shooting)","name":"transfer_date","in":"query"},{"type":"string","description":"creation date of the picture (in Grand Shooting)","name":"date_cre","in":"query"},{"type":"string","description":"last modification date of the picture (in Grand Shooting)","name":"date_mod","in":"query"},{"type":"string","description":"Validation date","name":"validation_date","in":"query"},{"type":"string","description":"name of the export","name":"export","in":"query"},{"type":"string","description":"status of export","name":"exportpicturestatus","in":"query"},{"type":"string","description":"name of the shooting method","name":"shootingmethod","in":"query"},{"type":"string","description":"ID of look","name":"look_id","in":"query"},{"type":"string","description":"alerts","name":"alerts","in":"query"},{"type":"string","description":"Sort search. Add a '+'/'-' character before to specify the sorting order as ascending or descending.","name":"sort_by","in":"query"},{"type":"string","description":"tags","name":"taginfo.tags","in":"query"},{"type":"string","description":"label","name":"taginfo.label","in":"query"},{"type":"string","description":"rating","name":"taginfo.rating","in":"query"},{"type":"string","description":"reference_ids","name":"reference_ids","in":"query"},{"type":"string","description":"refs","name":"refs","in":"query"},{"type":"string","description":"child_ids","name":"child_ids","in":"query"},{"type":"string","description":"search string","name":"search","in":"query"},{"type":"boolean","description":"activates wildcard search","default":true,"name":"search_wildcard","in":"query"},{"type":"string","description":"field to group with","enum":["picture_id","bench_id","bench_root_id","benchsteptype","benchstatus","ref","reference_ref","path","file_path","smalltext","picturestatus","filesize","width","height","reference_id","reference_ids","refs","looks","parent_id","child_ids","icc_profile","hash","file_id","view_type_code","transfer_date","date_cre","date_mod","validation_date","export","shootingmethod","look_id","taginfo.label","taginfo.rating"],"name":"group_by_field","in":"query","required":true},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["picture"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model11"},"description":"Successful"}}}},"/picture/{picture_id}":{"get":{"summary":"Get picture","operationId":"getPicturePicture_id","description":"Load a picture by its id","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["picture"],"responses":{"200":{"schema":{"$ref":"#/definitions/Picture"},"description":"Successful"}}},"delete":{"summary":"Delete a picture","operationId":"deletePicturePicture_id","description":"Delete a picture from Grand Shooting (logicaly, file is prefixed with __TRASH and invisible in Grand Shooting). You can't delete a picture in validation stage (benchsteptype 40), you have to delete it through the export process.","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["picture"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/production/export":{"get":{"summary":"List exports","operationId":"getProductionExport","description":"List exports availables.","produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model14"},"description":"Successful"}}},"post":{"summary":"Create export","operationId":"postProductionExport","description":"Create export.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model77"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Export"},"description":"Successful"}}}},"/production/template":{"get":{"summary":"List templates","operationId":"getProductionTemplate","description":"List templates availables. They can be used during a production creation.","produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model30"},"description":"Successful"}}},"post":{"summary":"Create template","operationId":"postProductionTemplate","description":"Create template. It can be used during a production creation.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model78"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Template"},"description":"Successful"}}}},"/reference/{reference_id}":{"get":{"summary":"Get reference","operationId":"getReferenceReference_id","description":"Return a reference item","parameters":[{"type":"number","description":"the id for the reference item","name":"reference_id","in":"path","required":true}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Reference"},"description":"Successful"}}},"delete":{"summary":"Delete reference","operationId":"deleteReferenceReference_id","description":"Delete reference from Grand Shooting. Stock information linked to the reference will not be available anymore. Pictures linked to this reference will still be available","produces":["application/json"],"tags":["reference"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/repo/{repo_id}":{"get":{"summary":"Load repo","operationId":"getRepoRepo_id","description":"Find information from a repo, the corresponding production or the corresponding gstransfer","parameters":[{"type":"string","description":"id of the repo","name":"repo_id","in":"path","required":true}],"produces":["application/json"],"tags":["repo"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model32"},"description":"Successful"}}}},"/specification/category":{"get":{"summary":"List categories","operationId":"getSpecificationCategory","description":"List specification categories","produces":["application/json"],"tags":["specification"],"responses":{"200":{"schema":{"$ref":"#/definitions/Specification%20categories"},"description":"Successful"}}},"post":{"summary":"Create Categories","operationId":"postSpecificationCategory","description":"Create specification categories.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model80"}}],"produces":["application/json"],"tags":["specification"],"responses":{"200":{"schema":{"$ref":"#/definitions/Specification categories"},"description":"Successful"}}}},"/specification/format":{"get":{"summary":"List formats","operationId":"getSpecificationFormat","description":"List specification available formats","produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"summary":"Create format","operationId":"postSpecificationFormat","description":"Create format.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model83"}}],"produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/stock/batch":{"get":{"summary":"List batches","operationId":"getStockBatch","description":"List batches","produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model38"},"description":"Successful"}}},"post":{"summary":"Create a batch","operationId":"postStockBatch","description":"Create a batch","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/batch%20creation"}}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Stock%20batch"},"description":"Successful"}}}},"/stock/zone":{"get":{"summary":"zones","operationId":"getStockZone","description":"List zones","produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Stock%20zones"},"description":"Successful"}}}},"/stock/{stock_item_id}":{"get":{"summary":"Get a stock item","operationId":"getStockStock_item_id","description":"Get a stock item","parameters":[{"type":"number","description":"id of the stock item","minimum":1,"name":"stock_item_id","in":"path","required":true}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model40"},"description":"Successful"}}},"patch":{"summary":"Update a stock item","operationId":"patchStockStock_item_id","description":"Update a stock item","parameters":[{"type":"number","description":"id of the stock item","minimum":1,"name":"stock_item_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model139"}}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model40"},"description":"Successful"}}}},"/style/folder":{"get":{"summary":"List look folders","operationId":"getStyleFolder","description":"\nReturn an array of look folders with a pagination.\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers:\n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","parameters":[{"type":"number","description":"offset for pagination","default":0,"minimum":0,"name":"offset","in":"header"}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model42"},"description":"Successful"}}},"post":{"summary":"Create look folder","operationId":"postStyleFolder","description":"You can create only 200 folders.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model84"}}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model85"},"description":"Successful"}}}},"/style/look":{"get":{"summary":"List looks","operationId":"getStyleLook","description":"\nReturn an array of looks with a pagination.\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers:\n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","parameters":[{"type":"number","description":"offset for pagination","default":0,"minimum":0,"name":"offset","in":"header"}],"produces":["application/json"],"tags":["Style - look"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model44"},"description":"Successful"}}},"post":{"summary":"Create look","operationId":"postStyleLook","description":"\nCreate a new look.\nYou can choose a unique name. If the automatic look name feature is active on the web application, the field \"name\" is not allowed.\n\nYou can create only 1000 looks per folders.\n","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model86"}}],"produces":["application/json"],"tags":["Style - look"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model87"},"description":"Successful"}}}},"/transfer/{transfer_id}":{"get":{"summary":"Load transfer","operationId":"getTransferTransfer_id","description":"Load transfer informations : files and share information","parameters":[{"type":"string","description":"uuid identifying transfer","name":"transfer_id","in":"path","required":true}],"produces":["application/json"],"tags":["transfer"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model47"},"description":"Successful"}}}},"/broadcast/{broadcast_id}/export":{"get":{"summary":"List exports for a broadcast","operationId":"getBroadcastBroadcast_idExport","description":"\nReturn an array of export with a pagination.\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers:\n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model49"},"description":"Successful"}}}},"/picture/{picture_id}/history":{"get":{"summary":"Get old versions of a picture","operationId":"getPicturePicture_idHistory","description":"Get picture history","parameters":[{"type":"number","description":"The id of the picture","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model53"},"description":"Successful"}}}},"/picture/{picture_id}/download":{"get":{"summary":"Download","operationId":"getPicturePicture_idDownload","description":"Download a picture","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/picture/{picture_id}/comment":{"get":{"summary":"Get picture comments","operationId":"getPicturePicture_idComment","description":"Get picture comments","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"description":"List of comments","schema":{"$ref":"#/definitions/Model55"}}}}},"/picture/{picture_id}/tag":{"get":{"summary":"Get tags","operationId":"getPicturePicture_idTag","description":"List picture tags.\n\nTagging information are extracted from picture metadata.\n\nColor label and ratings are commonly used tagging information used in photo edition software like Photoshop, Capture One and Lightroom.\n\nOther metadata are extracted from deep leaning categorisation models\n","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["Picture - Tag"],"responses":{"200":{"schema":{"$ref":"#/definitions/Picture%20tags"},"description":"Successful"}}},"put":{"summary":"Update picture tags","operationId":"putPicturePicture_idTag","description":"Modify or add tagging information to pictures. \n\nYou can override color label or rating defined in picture EXIF metadata.\n\nPicture's file internal EXIF metadata is not modified. New tag information will be available in Grand Shooting production filters","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Picture%20tags"}}],"produces":["application/json"],"tags":["Picture - Tag"],"responses":{"200":{"schema":{"$ref":"#/definitions/Picture%20tags"},"description":"Successful"}}}},"/production/export/{export_id}":{"get":{"summary":"Load export","operationId":"getProductionExportExport_id","description":"Load export.","parameters":[{"type":"number","description":"the export id","name":"export_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Export"},"description":"Successful"}}},"put":{"summary":"Replace export","operationId":"putProductionExportExport_id","description":"Replace export.","parameters":[{"type":"integer","description":"the export id","minimum":2,"name":"export_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model124"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Export"},"description":"Successful"}}},"patch":{"summary":"Update export","operationId":"patchProductionExportExport_id","description":"Update export.","parameters":[{"type":"integer","description":"the export id","minimum":2,"name":"export_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model140"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Export"},"description":"Successful"}}},"delete":{"summary":"Archive export","operationId":"deleteProductionExportExport_id","description":"Archive export.","parameters":[{"type":"integer","description":"the export id","minimum":2,"name":"export_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Export"},"description":"Successful"}}}},"/production/template/{template_id}":{"get":{"summary":"Load template","operationId":"getProductionTemplateTemplate_id","description":"Load template. It can be used during a production creation.","parameters":[{"type":"number","description":"the template id","name":"template_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Template"},"description":"Successful"}}},"put":{"summary":"Replace template","operationId":"putProductionTemplateTemplate_id","description":"Replace template. It can be used during a production creation.","parameters":[{"type":"number","description":"the template id","name":"template_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model125"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Template"},"description":"Successful"}}},"patch":{"summary":"Update template","operationId":"patchProductionTemplateTemplate_id","description":"Update template. It can be used during a production creation.","parameters":[{"type":"number","description":"the template id","name":"template_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model141"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Template"},"description":"Successful"}}},"delete":{"summary":"Delete template","operationId":"deleteProductionTemplateTemplate_id","description":"Delete template.","parameters":[{"type":"number","description":"the template id","name":"template_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/production/{bench_root_id}/reference":{"get":{"summary":"List references","operationId":"getProductionBench_root_idReference","description":"List references that should be shot during production.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model57"},"description":"Successful"}}},"post":{"summary":"Add references","operationId":"postProductionBench_root_idReference","description":"Define wich references should be shot during a production.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Bench%20reference%20mappings"}}],"produces":["application/json"],"tags":["production"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/production/{bench_root_id}/bench":{"get":{"summary":"Get benches","operationId":"getProductionBench_root_idBench","description":"List benches in a production.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Production"},"description":"Successful"}}}},"/production/{root_id}/config":{"get":{"summary":"Get production config","operationId":"getProductionRoot_idConfig","description":"Get production config.","produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model58"},"description":"Successful"}}}},"/reference/{id}/pictures":{"get":{"summary":"Get reference with associated pictures","operationId":"getReferenceIdPictures","description":"Return a reference item with its associated pictures, filtered by the provided query parameters","parameters":[{"type":"number","description":"the id for the reference item","name":"id","in":"path","required":true},{"type":"string","description":"Filter pictures by export type","name":"export","in":"query"},{"type":"string","description":"Filter pictures by shooting method","name":"shootingmethod","in":"query"},{"type":"number","description":"Filter pictures by status","enum":[1,5,10,30,31,35,40,50,51,52,55,80],"name":"picturestatus","in":"query"},{"type":"number","description":"Filter pictures by bench step type","enum":[10,20,30,40],"name":"benchsteptype","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Reference%20with%20Pictures"},"description":"Successful"}}}},"/reference/{reference_id}/tag":{"get":{"summary":"Get reference tags","operationId":"getReferenceReference_idTag","description":"\nRetrieve all tags associated with a specific reference.\n\n**Response Format:**\nReturns an object where keys are tag names and values are always `true`.\n\n**Example Response:**\n```json\n{\n  \"TAG1\": true,\n  \"TAG2\": true\n}\n```\n\n**HTTP Status Codes:**\n- `200 OK`: Tags retrieved successfully\n- `404 Not Found`: Reference does not exist\n- `400 Bad Request`: Invalid reference_id format\n\t\t\t","parameters":[{"type":"number","description":"the id for the reference item","name":"reference_id","in":"path","required":true}],"produces":["application/json"],"tags":["Reference - Tag"],"responses":{"200":{"description":"Meta tag of reference","schema":{"$ref":"#/definitions/Reference%20tags"}}}},"put":{"summary":"Update reference tags","operationId":"putReferenceReference_idTag","description":"\nModify tags on a specific reference. This endpoint supports partial updates: only tags mentioned in the request are modified, existing tags not mentioned remain unchanged.\n\n**Request Body Format:**\nSend tags as an object where:\n- Keys are tag names (strings)\n- Values are booleans:\n  - `true`: Add the tag if it doesn't exist, or keep it if it already exists\n  - `false`: Remove the tag from the reference\n\n**Example Request:**\n```json\n{\n  \"TAG1\": true,\n  \"TAG2\": false,\n  \"NEW_TAG\": true\n}\n```\n\n**Behavior:**\n- Tags set to `true` will be added or kept\n- Tags set to `false` will be removed\n- Tags not mentioned in the request remain unchanged\n- The update is partial: you only need to send the tags you want to modify\n\n**Response Format:**\nReturns the updated tags object (same format as GET endpoint) with all current tags set to `true`.\n\n**Example Response:**\n```json\n{\n  \"TAG1\": true,\n  \"NEW_TAG\": true\n}\n```\n\n**HTTP Status Codes:**\n- `200 OK`: Tags updated successfully\n- `404 Not Found`: Reference does not exist\n- `400 Bad Request`: Invalid reference_id format or invalid payload\n\t\t\t","parameters":[{"type":"number","description":"the id for the reference item","name":"reference_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model121"}}],"produces":["application/json"],"tags":["Reference - Tag"],"responses":{"200":{"description":"Meta tag of reference","schema":{"$ref":"#/definitions/Reference%20tags"}}}}},"/specification/category/{category_id}":{"get":{"summary":"Get a product category","operationId":"getSpecificationCategoryCategory_id","description":"Return a category item","parameters":[{"type":"number","description":"the id for the category item","name":"category_id","in":"path","required":true}],"produces":["application/json"],"tags":["specification"],"responses":{"200":{"schema":{"$ref":"#/definitions/Specification categories"},"description":"Successful"}}}},"/specification/format/{format_id}":{"get":{"summary":"Load format","operationId":"getSpecificationFormatFormat_id","description":"Load specification available format","parameters":[{"type":"number","description":"ID of format","name":"format_id","in":"path","required":true}],"produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"summary":"Replace format","operationId":"putSpecificationFormatFormat_id","description":"Replace format.","parameters":[{"type":"number","description":"ID of format","name":"format_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model129"}}],"produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"patch":{"summary":"Update format","operationId":"patchSpecificationFormatFormat_id","description":"Update formats.","parameters":[{"type":"number","description":"ID of format","name":"format_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model144"}}],"produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"summary":"Delete format","operationId":"deleteSpecificationFormatFormat_id","description":"Delete format.","parameters":[{"type":"number","description":"ID of format","name":"format_id","in":"path","required":true}],"produces":["application/json"],"tags":["specification"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/style/folder/{folder_id}":{"get":{"summary":"Get look folder","operationId":"getStyleFolderFolder_id","description":"Get specific look folder.","parameters":[{"type":"number","description":"ID of look folder","name":"folder_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model63"},"description":"Successful"}}},"put":{"summary":"Modify look folder","operationId":"putStyleFolderFolder_id","description":"Modify all fields of a look folder.","parameters":[{"type":"number","description":"ID of look folder","name":"folder_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model130"}}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model131"},"description":"Successful"}}},"patch":{"summary":"Update look folder","operationId":"patchStyleFolderFolder_id","description":"Update specifics fields of a look folder.","parameters":[{"type":"number","description":"ID of look folder","name":"folder_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model145"}}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model146"},"description":"Successful"}}},"delete":{"summary":"Delete a look folder","operationId":"deleteStyleFolderFolder_id","description":"All the looks contained in the folder will be deleted. The look information present in the media will be kept.","parameters":[{"type":"number","description":"ID of look folder","name":"folder_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - folder"],"responses":{"204":{"schema":{"type":"string","example":""},"description":"No Content"}}}},"/style/look/{look_id}":{"get":{"summary":"Get look","operationId":"getStyleLookLook_id","description":"Get specific look.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - look"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model64"},"description":"Successful"}}},"put":{"summary":"Modify look","operationId":"putStyleLookLook_id","description":"Modify all fields of a look. If the automatic look name feature is active on the web application, the field \"name\" is not allowed.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model132"}}],"produces":["application/json"],"tags":["Style - look"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model133"},"description":"Successful"}}},"patch":{"summary":"Update look","operationId":"patchStyleLookLook_id","description":"Update specifics fields of a look. If the automatic look name feature is active on the web application, the field \"name\" is not allowed.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model147"}}],"produces":["application/json"],"tags":["Style - look"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model148"},"description":"Successful"}}},"delete":{"summary":"Delete a look","operationId":"deleteStyleLookLook_id","description":"Delete a look. The look information present in the media will be kept.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - look"],"responses":{"204":{"schema":{"type":"string","example":""},"description":"No Content"}}}},"/broadcast/{broadcast_id}/export/{export_id}":{"get":{"summary":"Get export for a broadcast","operationId":"getBroadcastBroadcast_idExportExport_id","description":"Get specific export for a broadcast.","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true},{"type":"number","description":"ID of export","minimum":1,"name":"export_id","in":"path","required":true}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model65"},"description":"Successful"}}},"patch":{"summary":"Update export for a broadcast","operationId":"patchBroadcastBroadcast_idExportExport_id","description":"Update specifics fields of an export for a broadcast","parameters":[{"type":"number","description":"ID of broadcast","minimum":1,"name":"broadcast_id","in":"path","required":true},{"type":"number","description":"ID of export","minimum":1,"name":"export_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model149"}}],"produces":["application/json"],"tags":["broadcast"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model150"},"description":"Successful"}}}},"/picture/{picture_id}/frame/{format_id}":{"get":{"summary":"Get a frame","operationId":"getPicturePicture_idFrameFormat_id","description":"Get a frame on the image for custom processing (only for images, not yet for videos)","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"type":"number","description":"the id for the format item","name":"format_id","in":"path","required":true},{"type":"string","description":"Crop type","default":"NONE","enum":["NONE","EYE","NOSE"],"name":"crop","in":"query"},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"account_id","in":"query","required":false},{"type":"integer","description":"Account id for delegation usage","minimum":1,"name":"target_account_id","in":"query","required":false}],"produces":["application/json"],"tags":["Picture - Frame"],"responses":{"200":{"schema":{"$ref":"#/definitions/Frame%20example"},"description":"Successful"}}}},"/production/{bench_root_id}/bench/{bench_id}":{"get":{"summary":"Get bench","operationId":"getProductionBench_root_idBenchBench_id","description":"Load a bench by its id","parameters":[{"type":"number","description":"the bench id","name":"bench_id","in":"path","required":true},{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Bench"},"description":"Successful"}}}},"/style/look/{look_id}/reference":{"get":{"summary":"List look references","operationId":"getStyleLookLook_idReference","description":"\nReturn an array of references associated to look with a pagination.\n\nYou can set the offset of pagination with the header 'offset'.\nResponse headers:\n * 'X-Total-Count': Total number of items\n * 'X-Offset': Offset of the result\n * 'X-Count': Size of the result\n","parameters":[{"type":"number","description":"offset for pagination","default":0,"minimum":0,"name":"offset","in":"header"},{"type":"string","description":"ID of look","name":"look_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model67"},"description":"Successful"}}},"post":{"summary":"Create look reference","operationId":"postStyleLookLook_idReference","description":"\nCreate a new look reference.\nIt is not allowed to add the same reference on the same look.\n\nYou can create only 1000 references in a look.\n","parameters":[{"type":"string","description":"ID of look","name":"look_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model106"}}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model107"},"description":"Successful"}}}},"/transfer/{transfer_id}/sourcing/{process_id}":{"get":{"summary":"Sends files to sourcing","operationId":"getTransferTransfer_idSourcingProcess_id","description":"Sends transfer content to a sourcing project sourcing","parameters":[{"type":"string","description":"uuid identifying transfer","name":"transfer_id","in":"path","required":true},{"type":"string","description":"id of the process to check","name":"process_id","in":"path","required":true}],"produces":["application/json"],"tags":["transfer"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model68"},"description":"Successful"}}}},"/repo/{repo_id}/{file_id}/download/{filename}":{"get":{"summary":"Download a file","operationId":"getRepoRepo_idFile_idDownloadFilename","description":"Download a file which content is identified by its file_id, you also have to specify the result filename (present in header)","parameters":[{"type":"string","description":"id of the repo","name":"repo_id","in":"path","required":true},{"type":"string","description":"id of the file","name":"file_id","in":"path","required":true},{"type":"string","description":"name of the file to download","name":"filename","in":"path","required":true}],"produces":["application/json"],"tags":["repo"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/repo/{repo_id}/block/{block_id}/check":{"get":{"summary":"Check block","operationId":"getRepoRepo_idBlockBlock_idCheck","description":"Checks if a block is already known server side","parameters":[{"type":"string","description":"the id for the repo","name":"repo_id","in":"path","required":true},{"type":"string","description":"the id for the block","name":"block_id","in":"path","required":true}],"produces":["application/json"],"tags":["repo"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model69"},"description":"Successful"}}}},"/style/look/{look_id}/reference/{look_reference_id}":{"get":{"summary":"Get look reference","operationId":"getStyleLookLook_idReferenceLook_reference_id","description":"Get specific look reference.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"type":"number","description":"ID of look reference","name":"look_reference_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model70"},"description":"Successful"}}},"put":{"summary":"Modify look reference","operationId":"putStyleLookLook_idReferenceLook_reference_id","description":"Modify all fields of a look reference. It is not allowed to add the same reference on the same look.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"type":"number","description":"ID of look reference","name":"look_reference_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model134"}}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model135"},"description":"Successful"}}},"patch":{"summary":"Update look reference","operationId":"patchStyleLookLook_idReferenceLook_reference_id","description":"Update specifics fields of a look reference. It is not allowed to add the same reference on the same look.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"type":"number","description":"ID of look reference","name":"look_reference_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model151"}}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model152"},"description":"Successful"}}},"delete":{"summary":"Delete a look reference","operationId":"deleteStyleLookLook_idReferenceLook_reference_id","description":"Delete a look reference.","parameters":[{"type":"number","description":"ID of look","name":"look_id","in":"path","required":true},{"type":"number","description":"ID of look reference","name":"look_reference_id","in":"path","required":true}],"produces":["application/json"],"tags":["Style - Look - reference"],"responses":{"204":{"schema":{"type":"string","example":""},"description":"No Content"}}}},"/picture/picturestatus":{"post":{"summary":"Set picturestatus","operationId":"postPicturePicturestatus","description":"\nThis endpoint is similar to the POST /picture/{picture_id}/picturestatus endpoint, but it allows you to set status for multiple pictures at once.\n\nChange pictures status in the production workflow.\nDepending on the woflow step (benchsteptype of the picture's bench), available status for pictures are different:\n\t* Live: 5, 10, 30\n\t* Phase 1: 30, 35\n\t* Phase 2: 30, 35\n\t* Valdation: 31, 40, 50, 51, 52, 55, 80\n\t\t\t","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Picture%20status"}}],"produces":["application/json"],"tags":["picture"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"},"404":{"description":"Picture not found"}}}},"/reference/bulk":{"post":{"summary":"Create / update multiple references","operationId":"postReferenceBulk","description":"Returns the list of corresponding reference items","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/References"}}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/References"},"description":"Successful"}}}},"/reference/column":{"post":{"summary":"Add / Modify column of extra field","operationId":"postReferenceColumn","description":"Returns columns","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Extra%20Fields"}}],"produces":["application/json"],"tags":["reference"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/picture/edit/bulk":{"post":{"summary":"Send picture to edit","operationId":"postPictureEditBulk","description":"You can edit a picture only if an edit bench exist.","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Transfer"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"},"404":{"description":"Picture not found"}}}},"/picture/{picture_id}/productmain":{"post":{"summary":"Set picture as vedette of a product","operationId":"postPicturePicture_idProductmain","description":"Tag the picture as vedette and remove this tag for all other picture of product.","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model88"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model89"},"description":"Successful"}}}},"/picture/{picture_id}/edit":{"post":{"summary":"Send picture to edit","operationId":"postPicturePicture_idEdit","description":"You can edit a picture only if an edit bench exist.","parameters":[{"type":"number","description":"The id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model90"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"},"404":{"description":"Picture not found"}}}},"/picture/{picture_id}/picturestatus":{"post":{"summary":"Set picturestatus","operationId":"postPicturePicture_idPicturestatus","description":"Change picture status in the production workflow.\n\nDepending on the woflow step (benchsteptype of the picture's bench), available status for pictures are different:\n\t* Live: 5, 10, 30\n\t* Phase 1: 30, 35\n\t* Phase 2: 30, 35\n\t* Valdation: 31, 40, 50, 51, 52, 55, 80\n","parameters":[{"type":"number","description":"The id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model91"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"},"404":{"description":"Picture not found"}}}},"/picture/{picture_id}/references":{"post":{"summary":"Link refs","operationId":"postPicturePicture_idReferences","description":"Link references to a picture","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model93"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/picture/{picture_id}/publicurl":{"post":{"summary":"Get picture public url","operationId":"postPicturePicture_idPublicurl","description":"Build a public url for the picture that won't need an auth token. \n\t\t\tThe link is only available for a certain time (max 1 week).\n\t\t\tWhen the link is used, you can optinally trigger a picturestatus change and comment on the picture. (The trigger will be run every time the link is used).","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model94"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"200":{"description":"Public url of the picture","schema":{"type":"string","description":"Public url of the picture"}}}}},"/picture/{picture_id}/rename":{"post":{"summary":"Rename picture","operationId":"postPicturePicture_idRename","description":"Not available for benchsteptype 40","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model95"}}],"produces":["application/json"],"tags":["Picture - Actions"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/production/{bench_root_id}/export":{"post":{"summary":"Trigger export","operationId":"postProductionBench_root_idExport","description":"Start an export, i.e. process automatic renaming and modifications on pictures to add them to validation step.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"},"404":{"description":"Bench not found"},"423":{"description":"Export is already processing"}}}},"/repo/{repo_id}/files":{"post":{"summary":"Send file descriptions","operationId":"postRepoRepo_idFiles","description":"Send file descriptions","parameters":[{"type":"string","description":"the id for the repo","name":"repo_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model98"}}],"produces":["application/json"],"tags":["repo"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model99"},"description":"Successful"}}}},"/stock/batch/{batch_id}":{"post":{"summary":"Update a batch","operationId":"postStockBatchBatch_id","description":"Modify batch information","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/batch%20modification"}}],"produces":["application/json"],"tags":["stock"],"responses":{"200":{"schema":{"$ref":"#/definitions/Stock%20batch"},"description":"Successful"}}}},"/transfer/{transfer_id}/share":{"post":{"summary":"Share a transfer","operationId":"postTransferTransfer_idShare","description":"Sends an email to transfer recipients","parameters":[{"type":"string","description":"uuid identifying transfer","name":"transfer_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model100"}}],"produces":["application/json"],"tags":["transfer"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model47"},"description":"Successful"}}}},"/transfer/{transfer_id}/sourcing":{"post":{"summary":"Sends files to sourcing","operationId":"postTransferTransfer_idSourcing","description":"Sends transfer content to a sourcing project sourcing","parameters":[{"type":"string","description":"uuid identifying transfer","name":"transfer_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model102"}}],"produces":["application/json"],"tags":["transfer"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model103"},"description":"Successful"}}}},"/reference/{reference_id}/merge/{secondary_reference_id}":{"post":{"summary":"Merge references","operationId":"postReferenceReference_idMergeSecondary_reference_id","description":"Merge both references, the second reference information will be link to primary reference (eans, stock information, pictures). Secondary reference will be deleted","parameters":[{"type":"number","description":"the id for the reference item","minimum":1,"name":"reference_id","in":"path","required":true},{"type":"number","description":"the id for the secondary reference item","minimum":1,"name":"secondary_reference_id","in":"path","required":true}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Reference"},"description":"Successful"}}}},"/repo/{repo_id}/block/{block_id}":{"post":{"summary":"Upload block","operationId":"postRepoRepo_idBlockBlock_id","description":"Upload block","parameters":[{"type":"string","description":"the id for the repo","name":"repo_id","in":"path","required":true},{"type":"string","description":"the id for the block","name":"block_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model104"}}],"produces":["application/json"],"tags":["repo"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model105"},"description":"Successful"}}}},"/production/{bench_root_id}/bench/{bench_id}/upload":{"post":{"summary":"Upload pictures on a bench","operationId":"postProductionBench_root_idBenchBench_idUpload","description":"Return a status code","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true},{"type":"number","description":"the bench id","name":"bench_id","in":"path","required":true},{"type":"file","description":"picture file","x-meta":{"swaggerType":"file"},"in":"formData","name":"file","required":true},{"type":"boolean","description":"wait end of upload to return","default":true,"name":"wait","in":"formData"},{"type":"string","description":"path to upload picture","default":"/","name":"path","in":"formData"},{"type":"number","description":"id of a transfer the files uploaded are linked to. Only for plugins purpose","name":"transfer_id","in":"formData"}],"consumes":["multipart/form-data"],"produces":["application/json"],"tags":["production"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"400":{"description":"Bad Request"}}}},"/production/{bench_root_id}/bench/{bench_id}/upload/url":{"post":{"summary":"Upload pictures on a bench by providing urls instead of files","operationId":"postProductionBench_root_idBenchBench_idUploadUrl","description":"Returns an object array with information about the upload. The order of this response keeps the order of the array in the 'urls' field of the payload.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true},{"type":"number","description":"the bench id","name":"bench_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model109"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"description":"Upload report","schema":{"$ref":"#/definitions/Model114"}}}}},"/picture/tag":{"put":{"summary":"Bulk update picture tags","operationId":"putPictureTag","description":"\nThis endpoint is similar to the PUT /picture/{picture_id}/tag endpoint, but it allows you to set tags for multiple pictures at once.\n\nModify or add tagging information to pictures. \n\nYou can override color label or rating defined in picture EXIF metadata.\n\nPicture's file internal EXIF metadata is not modified. New tag information will be available in Grand Shooting production filters\n","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model118"}}],"produces":["application/json"],"tags":["Picture - Tag"],"responses":{"200":{"schema":{"$ref":"#/definitions/Picture%20tags"},"description":"Successful"}}}},"/production/{bench_root_id}":{"put":{"summary":"Update production","operationId":"putProductionBench_root_id","description":"Update a production, basicaly to modify production's name and dates.","parameters":[{"type":"number","description":"the production id","name":"bench_root_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model120"}}],"produces":["application/json"],"tags":["production"],"responses":{"200":{"schema":{"$ref":"#/definitions/Bench"},"description":"Successful"}}}},"/reference/tag":{"put":{"summary":"Bulk update reference tags","operationId":"putReferenceTag","description":"\nModify tags on multiple references in a single request. The same tags update will be applied to all specified references. This endpoint supports partial updates: only tags mentioned in the request are modified, existing tags not mentioned remain unchanged.\n\n**Request Body Format:**\n```json\n{\n  \"reference_id\": [431315, 431318, 431320],\n  \"tags\": {\n    \"TAG1\": true,\n    \"TAG2\": false\n  }\n}\n```\n\n- `reference_id`: Array of reference IDs (numbers) to update (required, minimum 1 item)\n- `tags`: Object where keys are tag names and values are booleans (required)\n  - `true`: Add/keep the tag\n  - `false`: Remove the tag\n\n**Behavior:**\n- The same tags update is applied to all specified references\n- Tags set to `true` will be added or kept on each reference\n- Tags set to `false` will be removed from each reference\n- Tags not mentioned in the request remain unchanged on each reference\n- Each reference is processed independently\n\n**Response Format:**\n\n**Success (200 OK):**\nWhen all references are updated successfully, returns an object mapping reference IDs to their updated tags:\n```json\n{\n  \"431315\": {\n    \"TAG1\": true,\n    \"OLD_TAG\": true\n  },\n  \"431318\": {\n    \"TAG1\": true,\n    \"OLD_TAG1\": true\n  },\n  \"431320\": {\n    \"TAG1\": true\n  }\n}\n```\n\n**Partial Success (207 Multi-Status):**\nWhen some references succeed and some fail, returns:\n```json\n{\n  \"succeeded\": [\"431315\", \"431318\"],\n  \"failed\": [\n    {\n      \"reference_id\": \"431320\",\n      \"error\": \"Reference not found\"\n    }\n  ]\n}\n```\n\n**HTTP Status Codes:**\n- `200 OK`: All references updated successfully\n- `207 Multi-Status`: Some references succeeded, some failed (check `succeeded` and `failed` arrays)\n- `404 Not Found`: All references failed (if all reference_ids are invalid or not found)\n- `400 Bad Request`: Invalid payload format (missing required fields, invalid types)\n\n**Error Handling:**\n- Invalid or non-existent reference IDs are included in the `failed` array with appropriate error messages\n- Valid references are still processed even if some fail\n- Each reference is processed sequentially\n\t\t\t","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model122"}}],"produces":["application/json"],"tags":["Reference - Tag"],"responses":{"200":{"schema":{"$ref":"#/definitions/Model123","x-alternatives":[{"$ref":"#/x-alt-definitions/Model1"},{"$ref":"#/x-alt-definitions/Model3"}]},"description":"Successful"}}}},"/webhook/{webhook_id}":{"put":{"summary":"Update a webhook","operationId":"putWebhookWebhook_id","description":"Return webhook","parameters":[{"type":"number","description":"webhook id","name":"webhook_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model76"}}],"produces":["application/json"],"tags":["webhook"],"responses":{"200":{"schema":{"$ref":"#/definitions/Webhook%20example%20request"},"description":"Successful"}}},"delete":{"summary":"Delete a webhook","operationId":"deleteWebhookWebhook_id","description":"Delete a webhook.","parameters":[{"type":"number","description":"webhook id","name":"webhook_id","in":"path","required":true}],"produces":["application/json"],"tags":["webhook"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/picture/{picture_id}/frame":{"put":{"summary":"Set a frame","operationId":"putPicturePicture_idFrame","description":"Set a frame on the image for custom processing (only for images, not yet for videos)","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Frame%20example"}}],"produces":["application/json"],"tags":["Picture - Frame"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"summary":"Delete a frame","operationId":"deletePicturePicture_idFrame","parameters":[{"type":"number","description":"the id for the picture item","name":"picture_id","in":"path","required":true}],"produces":["application/json"],"tags":["Picture - Frame"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/reference/{reference_id}/extra":{"put":{"summary":"Update reference extra fields","operationId":"putReferenceReference_idExtra","description":"Update only the extra fields of an existing reference. The reference must exist.","parameters":[{"type":"number","description":"the id for the reference item","minimum":1,"name":"reference_id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Reference%20extra%20update"}}],"produces":["application/json"],"tags":["reference"],"responses":{"200":{"schema":{"$ref":"#/definitions/Reference"},"description":"Successful"}}}}},"definitions":{"type":{"type":"string","example":"FTP","enum":["FTP","FTPS","SFTP","DEMANDWARE","HIBRIS","PRESTASHOP","DROPBOX","WEBDAV"]},"Model1":{"type":"object","properties":{"broadcast_id":{"type":"number","description":"ID of broadcast","example":2,"minimum":1},"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/type"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"}},"required":["broadcast_id","type","host","user","cron"]},"Model2":{"type":"array","items":{"$ref":"#/definitions/Model1"}},"reference_ids":{"type":"array","items":{"type":"number","description":"array of reference_id for secondary references on the picture","minimum":1}},"refs":{"type":"array","items":{"type":"string","description":"array of refs for secondary references on the picture"}},"Model3":{"type":"object","properties":{"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"ref":{"type":"string","description":"ref of the look entry"},"useforref":{"type":"boolean","description":"whether this picture is used for this reference"},"main":{"type":"boolean","description":"whether this is the main reference"}}},"looks":{"type":"array","description":"array of look associations with useforref and main flags","items":{"$ref":"#/definitions/Model3"}},"child_ids":{"type":"array","items":{"type":"number","description":"array of child picture_id","minimum":1}},"zp":{"type":"object","description":"Vector of translation","properties":{"x":{"type":"number","description":"translation x"},"y":{"type":"number","description":"translation y"}}},"frame":{"type":"object","properties":{"x1":{"type":"number","description":"start x pixel"},"y1":{"type":"number","description":"start y pixel"},"x2":{"type":"number","description":"end x pixel"},"y2":{"type":"number","description":"end y pixel"},"z":{"type":"number","description":"rotation degree"},"zp":{"$ref":"#/definitions/zp"},"smalltext":{"type":"string","description":"Optional name for the frame"}},"required":["x1","y1","x2","y2"]},"taginfo":{"type":"object"},"Model4":{"type":"string","enum":["missing_icc_profile","extract_ref","out_of_catalog","out_of_shotlist","out_of_set","unmatching_live_pattern","missing_view","unexpected_view","technical_error","incorrect_filename","missing_catalog","missing_value_catalog","duplicate_filename","missing_value_dictionnary","missing_info_look","format_compliancy","format_ratio","ai_analysis_failed","thumbnail_generation_failed"]},"alerts":{"type":"array","description":"alerts","items":{"$ref":"#/definitions/Model4"}},"Model5":{"type":"object","properties":{"picture_id":{"type":"number","description":"id of the picture","minimum":1},"bench_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"bench_root_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"benchsteptype":{"type":"number","description":"workflow step of production","enum":[10,20,30,40]},"benchstatus":{"type":"number","description":"status of production\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed","enum":[10,20,30,35,40,50]},"ref":{"type":"string","description":"ref extracted from picture"},"reference_ref":{"type":"string","description":"ref value of linked reference from catalog"},"path":{"type":"string","description":"path of the picture in the repository"},"file_path":{"type":"string","description":"path of the picture"},"smalltext":{"type":"string","description":"picture filename"},"picturestatus":{"type":"number","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","enum":[1,5,10,30,31,35,40,50,51,52,55,80]},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"reference_ids":{"$ref":"#/definitions/reference_ids"},"refs":{"$ref":"#/definitions/refs"},"looks":{"$ref":"#/definitions/looks"},"parent_id":{"type":"number","description":"parent picture"},"child_ids":{"$ref":"#/definitions/child_ids"},"icc_profile":{"type":"string","description":"icc profile of image"},"thumbnail":{"type":"string","description":"url of thumbnail"},"hash":{"type":"string","description":"hash computed from image content"},"file_id":{"type":"string","description":"identifier of file content"},"view_type_code":{"type":"string","description":"view type code"},"transfer_date":{"type":"string","format":"date","description":"transfert date of the picture (in Grand Shooting)"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"validation_date":{"type":"string","format":"date","description":"Validation date"},"frame":{"$ref":"#/definitions/frame"},"export":{"type":"string","description":"name of the export"},"exportpicturestatus":{"type":"number","description":"status of export"},"taginfo":{"$ref":"#/definitions/taginfo"},"shootingmethod":{"type":"string","description":"name of the shooting method"},"look_id":{"type":"number","description":"ID of look"},"alerts":{"$ref":"#/definitions/alerts"}}},"Pictures":{"type":"array","items":{"$ref":"#/definitions/Model5"}},"location":{"type":"object","properties":{"address_line1":{"type":"string"},"address_line2":{"type":"string"},"zipcode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"country_iso2":{"type":"string"}}},"info":{"type":"object","description":"Free information stored with production"},"Column model":{"type":"object","example":{"key":"shopify-product_id","label":"Shopify Product ID","type":"int"},"properties":{"key":{"type":"string","description":"used to identify column in import and export files"},"label":{"type":"string","description":"used for display in screens"},"type":{"type":"string","description":"the type of the column"}},"required":["key","label","type"]},"info_model":{"type":"array","description":"Description of what that can be stored in \"info\" field","items":{"$ref":"#/definitions/Column%20model"}},"Bench":{"type":"object","example":{"account_id":1,"bench_id":3,"parent_id":2,"root_id":1,"ext_lib_id":"1","smalltext":"RTW_2019 DAY1 packshot","startdate":"2018-12-25T22:45:00","enddate":"2018-12-26T22:45:00","timezone":"Europe/Paris","tzoffset":60,"shooting_method_id":1,"benchsteptype":40,"benchaccess":40,"benchstatus":10,"info":{"Photograph":"John Smith","Model":"John Snow","Stylist":"John Wick"},"info_model":[{"key":"Photograph","label":"Photograph","type":"text"},{"key":"Model","label":"Model","type":"text"},{"key":"stylist","label":"Stylist","type":"text"},{"key":"online_date","label":"Online date","type":"date"},{"key":"studio_number","label":"Studio number","type":"int"}],"step_label":"Validation","archived":false},"properties":{"account_id":{"type":"number","description":"Account ID"},"smalltext":{"type":"string","description":"Bench label"},"startdate":{"type":"string","format":"date","description":"Start date"},"enddate":{"type":"string","format":"date","description":"End date"},"timezone":{"type":"string","description":"Timezone"},"tzoffset":{"type":"number","description":"Timezone offset"},"shooting_method_id":{"type":"number","description":"Shooting method ID"},"bench_id":{"type":"number","description":"Bench ID","minimum":1},"parent_id":{"type":"number","description":"Parent ID","minimum":1},"root_id":{"type":"number","description":"Root ID","minimum":1},"ext_lib_id":{"type":"string","description":"Repo ID"},"meta_export_info":{"type":"string"},"briefing":{"type":"string","description":"Url of a briefing giving information on production procedures"},"location":{"$ref":"#/definitions/location"},"benchsteptype":{"type":"number","description":"Worlflow step for the bench.\n\t\t10 : Live\n\t\t20 : 1rst postprod step\n\t\t30 : 2nd postprod step\n\t\t40 : export step\n\t","enum":[10,20,30,40]},"benchaccess":{"type":"number","description":"User access for bench","enum":[10,15,20,25,40,50,60]},"benchstatus":{"type":"number","description":"Status of the bench.\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed\n\t","enum":[10,20,30,35,40,50]},"info":{"$ref":"#/definitions/info"},"info_model":{"$ref":"#/definitions/info_model"},"step_label":{"type":"string","description":"Label of step"},"archived":{"type":"boolean","description":"Indicates if bench is archived"}}},"Production":{"type":"array","items":{"$ref":"#/definitions/Bench"}},"Production list":{"type":"array","items":{"$ref":"#/definitions/Production"}},"eans":{"type":"array","description":"alternatives ean","items":{"type":"string"}},"extra":{"type":"object","description":"Extra data"},"Model6":{"type":"object","properties":{"ean":{"type":"string","description":"Ean string, used to scan product and to name media files"},"smalltext":{"type":"string","description":"ean label"},"star":{"type":"boolean","description":"Indicate if this ean is a favorite choice at the reference level"},"extra":{"$ref":"#/definitions/extra"}}},"eans_extended":{"type":"array","description":"rich ean information","items":{"$ref":"#/definitions/Model6"}},"tags":{"type":"array","description":"tags","items":{"type":"string"}},"Reference":{"type":"object","example":{"reference_id":12,"ref":"FW19_ALDA_PINK","ean":"2309309834098","eans":["2309309834093","2309309834091"],"eans_extended":[{"ean":"2309309834093","smalltext":"2309309834093 L","star":true,"extra":{"sku":"19874LKKHZG","size":"L"}}],"univers":"RTW","gamme":"Accessories","family":"Handbags","sku":"EPOIAPOIJKLH109384","brand":"BATCHEMON","smalltext":"Pink leather handbag Alda","category_id":1,"product_ref":"FW19_ALDA","product_smalltext":"Leather handbag Alda","gender":"Woman","color":"PINK","hexa_color":"#FFC0CB","size":"L","collection":"FW19","comment":"Closeup on zip","tags":["urgent","leather"],"online":"20/12/2019","extra":{"composition":["30% coton","beef leather"]}},"properties":{"reference_id":{"type":"number","description":"id of the reference","minimum":1},"ref":{"type":"string","description":"reference label identifier"},"ean":{"type":"string","description":"main ean"},"eans":{"$ref":"#/definitions/eans"},"eans_extended":{"$ref":"#/definitions/eans_extended"},"univers":{"type":"string","description":"univers, level 1 in catalog hierarchy"},"gamme":{"type":"string","description":"gamme, level 2 in catalog hierarchy"},"family":{"type":"string","description":"family, level 3 in catalog hierarchy"},"sku":{"type":"string","description":"sku"},"brand":{"type":"string","description":"brand"},"smalltext":{"type":"string","description":"reference label"},"category_id":{"type":"number","description":"product category identifier"},"product_ref":{"type":"string","description":"product identifier"},"product_smalltext":{"type":"string","description":"product label"},"gender":{"type":"string","description":"gender"},"gender_smalltext":{"type":"string","description":"gender"},"color":{"type":"string","description":"color"},"hexa_color":{"type":"string","description":"Code couleur RGB en hexa décimal"},"size":{"type":"string","description":"size"},"collection":{"type":"string","description":"collection"},"comment":{"type":"string","description":"comment"},"tags":{"$ref":"#/definitions/tags"},"extra":{"$ref":"#/definitions/extra"},"shotlist_id":{"type":"number","description":"id of a shotlist to add reference to","minimum":1},"shotlist":{"type":"string","description":"name of a shotlist to add reference to (shotlist will be created if it doesnt exists)"},"date_cre":{"type":"string","format":"date","description":"creation date of the reference (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the reference (in Grand Shooting)"},"online":{"type":"string","description":"online date"}},"required":["ref"]},"References":{"type":"array","items":{"$ref":"#/definitions/Reference"}},"Shooting method":{"type":"object","example":{"shooting_method_id":10,"shootingmethod":"Packshot"},"properties":{"shooting_method_id":{"type":"number","description":"The ID of shooting method","minimum":1},"shootingmethod":{"type":"string","description":"The name of the shooting method"}}},"Shooting methods":{"type":"array","items":{"$ref":"#/definitions/Shooting%20method"}},"Model7":{"type":"object"},"Model8":{"type":"object","properties":{"stock_item_id":{"type":"number","description":"id of the stock item","minimum":1},"batch_id":{"type":"number","description":"id of the batch in which the stock item is stored","minimum":1},"stock_item_status":{"type":"number","description":"Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost\n","enum":[10,12,15,17,20,30,40,45,48,50,51,60,70,75,90]},"smalltext":{"type":"string"},"ean":{"type":"string"},"star":{"type":"boolean"},"extra":{"$ref":"#/definitions/Model7"},"date_cre":{"type":"string","format":"date","description":"creation date of the item (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the item (in Grand Shooting)"}},"required":["stock_item_id"]},"stock_items":{"type":"array","items":{"$ref":"#/definitions/Model8"}},"Stock item":{"type":"object","properties":{"stock_items":{"$ref":"#/definitions/stock_items"},"reference_id":{"type":"number","description":"id of the reference","minimum":1},"ref":{"type":"string","description":"reference label identifier"},"ean":{"type":"string","description":"main ean"},"eans":{"$ref":"#/definitions/eans"},"eans_extended":{"$ref":"#/definitions/eans_extended"},"univers":{"type":"string","description":"univers, level 1 in catalog hierarchy"},"gamme":{"type":"string","description":"gamme, level 2 in catalog hierarchy"},"family":{"type":"string","description":"family, level 3 in catalog hierarchy"},"sku":{"type":"string","description":"sku"},"brand":{"type":"string","description":"brand"},"smalltext":{"type":"string","description":"reference label"},"category_id":{"type":"number","description":"product category identifier"},"product_ref":{"type":"string","description":"product identifier"},"product_smalltext":{"type":"string","description":"product label"},"gender":{"type":"string","description":"gender"},"gender_smalltext":{"type":"string","description":"gender"},"color":{"type":"string","description":"color"},"hexa_color":{"type":"string","description":"Code couleur RGB en hexa décimal"},"size":{"type":"string","description":"size"},"collection":{"type":"string","description":"collection"},"comment":{"type":"string","description":"comment"},"tags":{"$ref":"#/definitions/tags"},"extra":{"$ref":"#/definitions/extra"},"shotlist_id":{"type":"number","description":"id of a shotlist to add reference to","minimum":1},"shotlist":{"type":"string","description":"name of a shotlist to add reference to (shotlist will be created if it doesnt exists)"},"date_cre":{"type":"string","format":"date","description":"creation date of the reference (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the reference (in Grand Shooting)"},"online":{"type":"string","description":"online date"}},"required":["ref"]},"Stock items":{"type":"array","items":{"$ref":"#/definitions/Stock%20item"}},"Webhook example request":{"type":"object","example":{"address":"https://myapp.com/picture","topic":"pictures/create","webhook_id":217894},"properties":{"address":{"type":"string"},"topic":{"type":"string"},"webhook_id":{"type":"number"}}},"Webhooks":{"type":"array","items":{"$ref":"#/definitions/Webhook%20example%20request"}},"Model9":{"type":"object","properties":{"broadcast_id":{"type":"number","description":"ID of broadcast","example":2,"minimum":1},"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/type"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"}},"required":["broadcast_id","type","host","user","cron"]},"pictures":{"type":"array","description":"samples from the corresponding pictures","items":{"type":"string"}},"Model10":{"type":"object","properties":{"key":{"type":"string"},"nb":{"type":"number","description":"number of pictures corresponding to the key"},"pictures":{"$ref":"#/definitions/pictures"}}},"Model11":{"type":"array","items":{"$ref":"#/definitions/Model10"}},"Model12":{"type":"string","enum":["missing_icc_profile","extract_ref","out_of_catalog","out_of_shotlist","out_of_set","unmatching_live_pattern","missing_view","unexpected_view","technical_error","incorrect_filename","missing_catalog","missing_value_catalog","duplicate_filename","missing_value_dictionnary","missing_info_look","format_compliancy","format_ratio","ai_analysis_failed","thumbnail_generation_failed"]},"Model13":{"type":"array","description":"alerts","items":{"$ref":"#/definitions/Model12"}},"Picture":{"type":"object","example":{"picture_id":1023,"bench_id":2,"bench_root_id":1,"benchsteptype":20,"benchstatus":10,"ref":"FW19_ALDA_PINK","path":"Deprecated field, instead use file_path. f33cdd25-b8b0-48dd-abac-cf8a29529f89/JPG/FW19_ALDA_PINK-1.jpg","file_path":"JPG/FW19_ALDA_PINK-1.jpg","smalltext":"FW19_ALDA_PINK_1.jpg","picturestatus":30,"filesize":520000,"reference_id":10,"reference_ids":[12,140],"refs":["REFA_SHOOES","REFB_HAT"],"parent_id":151,"child_ids":[2034,1034],"export":"WEB","frame":{"x1":1000,"y1":1000,"x2":2000,"y2":4000},"icc_profile":"sRGB IEC61966-2.1","thumbnail":"https://d2ui6hcz8iRm23.cdn.com/96/90/aca22fe007c.jpg","hash":"5ef7fcb04a5c2e90a0f490e92a3260c50a259a5c","shootingmethod":"Packshot","look_id":1,"alerts":["alertNoICCProfile","warningUnexpectedView"]},"properties":{"picture_id":{"type":"number","description":"id of the picture","minimum":1},"bench_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"bench_root_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"benchsteptype":{"type":"number","description":"workflow step of production","enum":[10,20,30,40]},"benchstatus":{"type":"number","description":"status of production\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed","enum":[10,20,30,35,40,50]},"ref":{"type":"string","description":"ref extracted from picture"},"reference_ref":{"type":"string","description":"ref value of linked reference from catalog"},"path":{"type":"string","description":"path of the picture in the repository"},"file_path":{"type":"string","description":"path of the picture"},"smalltext":{"type":"string","description":"picture filename"},"picturestatus":{"type":"number","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","enum":[1,5,10,30,31,35,40,50,51,52,55,80]},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"reference_ids":{"$ref":"#/definitions/reference_ids"},"refs":{"$ref":"#/definitions/refs"},"looks":{"$ref":"#/definitions/looks"},"parent_id":{"type":"number","description":"parent picture"},"child_ids":{"$ref":"#/definitions/child_ids"},"icc_profile":{"type":"string","description":"icc profile of image"},"thumbnail":{"type":"string","description":"url of thumbnail"},"hash":{"type":"string","description":"hash computed from image content"},"file_id":{"type":"string","description":"identifier of file content"},"view_type_code":{"type":"string","description":"view type code"},"transfer_date":{"type":"string","format":"date","description":"transfert date of the picture (in Grand Shooting)"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"validation_date":{"type":"string","format":"date","description":"Validation date"},"frame":{"$ref":"#/definitions/frame"},"export":{"type":"string","description":"name of the export"},"exportpicturestatus":{"type":"number","description":"status of export"},"taginfo":{"$ref":"#/definitions/taginfo"},"shootingmethod":{"type":"string","description":"name of the shooting method"},"look_id":{"type":"number","description":"ID of look"},"alerts":{"$ref":"#/definitions/Model13"}}},"position":{"type":"string","default":"Center","enum":["NorthWest","North","NorthEast","West","Center","East","SouthWest","South","SouthEast"]},"crop":{"type":"object","properties":{"active":{"type":"boolean"},"width":{"type":"number","description":"px"},"height":{"type":"number","description":"px"},"position":{"$ref":"#/definitions/position"}}},"flag":{"type":"string","description":"flag","enum":["<",">","!"]},"resize":{"type":"object","properties":{"active":{"type":"boolean"},"width":{"type":"number","description":"px"},"height":{"type":"number","description":"px"},"flag":{"$ref":"#/definitions/flag"}}},"icc_profile":{"type":"object","properties":{"active":{"type":"boolean"},"profile":{"type":"string"}}},"filter":{"type":"object","properties":{"match":{"type":"string","description":"Filter path of media"},"exclude":{"type":"boolean","description":"Reverse the field 'match'"},"sample":{"type":"string","description":"Example of filter"}}},"decode":{"type":"object","properties":{"regexp":{"type":"string","description":"Regexp to decode filename"},"sample":{"type":"string","description":"Example of file name for regexp"}}},"substitutions":{"type":"array","items":{"type":"string"}},"target":{"type":"object","properties":{"name":{"type":"string","description":"Name of final media"},"sample":{"type":"string","description":"Example of final name"},"substitutions":{"$ref":"#/definitions/substitutions"}}},"config":{"type":"object","properties":{"crop":{"$ref":"#/definitions/crop"},"resize":{"$ref":"#/definitions/resize"},"background_color":{"type":"string","description":"Color or hexa"},"icc_profile":{"$ref":"#/definitions/icc_profile"},"density":{"type":"number","description":"dpi"},"rotation":{"type":"number","description":"°"},"max_file_size":{"type":"number","description":"kb"},"duplicate_productref":{"type":"boolean","description":"Duplicate photos for all references with the same product code"},"apply_frame":{"type":"boolean","description":"Apply frame"},"apply_format":{"type":"boolean","description":"Apply specification format"},"extend_background":{"type":"boolean","description":"Extend brackground when frame is applied"},"duplicate_look":{"type":"boolean","x-alternatives":[{"type":"boolean"},{"$ref":"#/x-alt-definitions/duplicate_look"}]},"filter":{"$ref":"#/definitions/filter"},"decode":{"$ref":"#/definitions/decode"},"target":{"$ref":"#/definitions/target"}}},"format_ids":{"type":"array","items":{"type":"integer","minimum":1}},"Export":{"type":"object","example":{"export_id":2,"smalltext":"HD","config":{"crop":{"active":true,"width":2500,"height":1800,"position":"Center"},"resize":{"active":true,"width":2000,"height":2000,"flag":"<"},"to_jpg":{"active":true,"background_color":"#F0F0F0"},"icc_profile":{"active":true,"profile":"sRGB IEC61966-2.1"},"density":72,"rotation":3,"max_file_size":4096,"duplicate_productref":true,"apply_frame":true,"extend_background":false,"duplicate_look":"only","filter":{"match":"/HD/","exclude":false,"sample":"/HD/mypicture_1.png"},"decode":{"regexp":"(.*).(.*)","sample":"mypicture_1.png"},"target":{"name":"{$1}_{$2}.jpg","sample":"myeanpicture_1.jpg","substitutions":["sku","_same"]}},"archived":false,"format_ids":[3]},"properties":{"export_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"config":{"$ref":"#/definitions/config"},"archived":{"type":"boolean"},"format_ids":{"$ref":"#/definitions/format_ids"}}},"Model14":{"type":"array","items":{"$ref":"#/definitions/Export"}},"Model15":{"type":"object","properties":{"missing_icc_profile":{"type":"boolean"}}},"Model16":{"type":"object","properties":{"export_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"}}},"number":{"type":"array","items":{"$ref":"#/definitions/Model16"}},"framing":{"type":"object","properties":{"active":{"type":"boolean"},"width":{"type":"integer","minimum":1},"height":{"type":"integer","minimum":1}}},"metadata":{"type":"object","properties":{"author":{"type":"string"},"datecreated":{"type":"boolean"},"headline":{"type":"string"},"caption":{"type":"string"},"keywords":{"type":"string"},"coverage":{"type":"string"},"copyright":{"type":"string"},"usageterms":{"type":"string"}}},"Model17":{"type":"object","properties":{"label":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"}}},"Model18":{"type":"array","items":{"$ref":"#/definitions/Model17"}},"Model19":{"type":"object","properties":{"email":{"type":"string"},"firstname":{"type":"string"}}},"access":{"type":"array","items":{"$ref":"#/definitions/Model19"}},"production":{"type":"object","properties":{"alerts":{"$ref":"#/definitions/Model15"},"auto_export":{"type":"boolean"},"exports":{"type":"object","properties":{"number":{"$ref":"#/definitions/number"}}},"delegation_account_id":{"type":"integer","minimum":1},"export_all_pictures":{"type":"boolean"},"show_media_version":{"type":"boolean"},"download_all_pictures":{"type":"boolean"},"max_zoom_100":{"type":"boolean"},"mode_360":{"type":"boolean"},"storage":{"type":"string"},"ref_pattern":{"type":"string"},"framing":{"$ref":"#/definitions/framing"},"metadata":{"$ref":"#/definitions/metadata"},"info":{"$ref":"#/definitions/Model18"},"access":{"$ref":"#/definitions/access"}}},"sample":{"type":"array","items":{"type":"string"}},"pattern":{"type":"object","properties":{"active":{"type":"boolean"},"regexp":{"type":"string"},"sample":{"$ref":"#/definitions/sample"}}},"Model20":{"type":"object","properties":{"out_of_shotlist":{"type":"boolean"},"out_of_set":{"type":"boolean"},"out_of_catalog":{"type":"boolean"},"missing_view":{"type":"boolean"},"pattern":{"$ref":"#/definitions/pattern"}}},"Model21":{"type":"object","properties":{"email":{"type":"string"},"firstname":{"type":"string"},"guest":{"type":"boolean"}}},"Model22":{"type":"array","items":{"$ref":"#/definitions/Model21"}},"live":{"type":"object","properties":{"label":{"type":"string"},"message":{"type":"string"},"folder_pattern":{"type":"string"},"alerts":{"$ref":"#/definitions/Model20"},"access":{"$ref":"#/definitions/Model22"}}},"Model23":{"type":"object","properties":{"email":{"type":"string"},"firstname":{"type":"string"},"guest":{"type":"boolean"}}},"Model24":{"type":"array","items":{"$ref":"#/definitions/Model23"}},"edit1":{"type":"object","properties":{"active":{"type":"boolean"},"label":{"type":"string"},"access":{"$ref":"#/definitions/Model24"}}},"Model25":{"type":"object","properties":{"email":{"type":"string"},"firstname":{"type":"string"},"guest":{"type":"boolean"}}},"Model26":{"type":"array","items":{"$ref":"#/definitions/Model25"}},"edit2":{"type":"object","properties":{"active":{"type":"boolean"},"label":{"type":"string"},"access":{"$ref":"#/definitions/Model26"}}},"Model27":{"type":"object","properties":{"missing_catalog":{"type":"boolean"},"missing_value_dictionnary":{"type":"boolean"},"missing_info_look":{"type":"boolean"},"unexpected_view":{"type":"boolean"},"format_compliancy":{"type":"boolean"}}},"main":{"type":"array","maxItems":5,"items":{"type":"string"}},"secondary":{"type":"array","items":{"type":"string"}},"rejection_options":{"type":"object","properties":{"active":{"type":"boolean"},"main":{"$ref":"#/definitions/main"},"secondary":{"$ref":"#/definitions/secondary"}}},"Model28":{"type":"object","properties":{"email":{"type":"string"},"firstname":{"type":"string"},"guest":{"type":"boolean","enum":[true]}}},"Model29":{"type":"array","items":{"$ref":"#/definitions/Model28"}},"validation":{"type":"object","properties":{"label":{"type":"string"},"auto_validation":{"type":"boolean"},"alerts":{"$ref":"#/definitions/Model27"},"rejection_options":{"$ref":"#/definitions/rejection_options"},"access":{"$ref":"#/definitions/Model29"}}},"Template":{"type":"object","example":{"template_id":3,"account_id":612,"smalltext":"test","production":{"alerts":{"missing_icc_profile":true},"auto_export":true,"exports":{"103":[{"export_id":8,"smalltext":"LOOK"},{"export_id":2,"smalltext":"WEB"}]},"delegation_account_id":102,"export_all_pictures":true,"show_media_version":true,"download_all_pictures":true,"max_zoom_100":true,"mode_360":true,"storage":"standard","ref_pattern":"::v3::0::::-1::_::2::_::2::.::1::0","framing":{"active":true,"width":200,"height":200},"metadata":{"author":"test","datecreated":true,"headline":"1","caption":"2","keywords":"3","coverage":"4","copyright":"5","usageterms":"6"},"info":[{"label":"Photographe","type":"text","value":"1"},{"label":"Mannequin","type":"text","value":"2"},{"label":"Styliste","type":"text","value":"3"},{"label":"Date limite des droits","type":"date","value":"2022-03-30T09:13:25.895Z"},{"label":"fergverger","type":"int","value":12312}],"access":[{"email":"sampleaccess@email.com","firstname":"Sample"}]},"live":{"label":"Live","message":"Message pour le responsable","folder_pattern":"{EAN}","alerts":{"out_of_shotlist":true,"out_of_set":true,"out_of_catalog":true,"missing_view":true,"pattern":{"active":true,"regexp":"(.*).jpg","sample":["mypicture_1.jpg","mypicture_1.png"]}},"access":[{"email":"sampleaccess@email.com","firstname":"Sample","guest":true},{"email":"sampleaccess@email.com","firstname":"Sample","guest":false}]},"edit1":{"active":true,"label":"Phase 1","access":[{"email":"sampleaccess@email.com","firstname":"Sample","guest":true},{"email":"sampleaccess@email.com","firstname":"Sample","guest":false}]},"edit2":{"active":true,"label":"Phase 2","access":[{"email":"sampleaccess@email.com","firstname":"Sample","guest":true},{"email":"sampleaccess@email.com","firstname":"Sample","guest":false}]},"validation":{"label":"Validation","auto_validation":true,"alerts":{"missing_catalog":true,"missing_value_dictionnary":true,"missing_info_look":true,"unexpected_view":true,"format_compliancy":true},"rejection_options":{"active":true,"main":["Option 1","Option 2","Option 3"],"secondary":["Option 4","Option 5","Option 6"]},"access":[{"email":"sampleaccess@email.com","firstname":"Sample","guest":true}]}},"properties":{"template_id":{"type":"integer","minimum":1},"account_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"production":{"$ref":"#/definitions/production"},"live":{"$ref":"#/definitions/live"},"edit1":{"$ref":"#/definitions/edit1"},"edit2":{"$ref":"#/definitions/edit2"},"validation":{"$ref":"#/definitions/validation"}}},"Model30":{"type":"array","items":{"$ref":"#/definitions/Template"}},"blocks":{"type":"array","description":"list of block ids","items":{"type":"string"}},"Model31":{"type":"object","properties":{"smalltext":{"type":"string","description":"picture filename"},"path":{"type":"string","description":"path of the picture in the repository"},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"thumbnail":{"type":"string","description":"url of thumbnail"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"file_id":{"type":"string","description":"identifier of file content"},"blocks":{"$ref":"#/definitions/blocks"}}},"files":{"type":"array","items":{"$ref":"#/definitions/Model31"}},"Model32":{"type":"object","properties":{"repo_id":{"type":"string"},"bench_id":{"type":"number"},"root_id":{"type":"number"},"files":{"$ref":"#/definitions/files"},"gstransfer_id":{"type":"string"},"account_id":{"type":"number"},"ext_lib_id":{"type":"string"},"server_id":{"type":"string"}}},"keywords":{"type":"array","description":"keyword to match reference with category","items":{"type":"string"}},"file_format":{"type":"string","enum":["JPG","PNG","TIF",{"value":{"allowUnknown":true}}]},"Model33":{"type":"string","enum":["sRGB IEC61966-2.1","Adobe RGB (1998)",{"value":{"allowUnknown":true}}]},"Model34":{"type":"string","description":"Position with border","default":"Center","enum":["NorthWest","North","NorthEast","West","Center","East","SouthWest","South","SouthEast"]},"unit":{"type":"string","description":"Unit of size","default":"%","enum":["px","%"]},"top":{"type":"object","properties":{"color":{"type":"string","description":"Color or hexa or 'EXTRAPOLATE'"},"unit":{"$ref":"#/definitions/unit"},"size":{"type":"number","description":"Size of border"}}},"bottom":{"type":"object","properties":{"color":{"type":"string","description":"Color or hexa or 'EXTRAPOLATE'"},"unit":{"$ref":"#/definitions/unit"},"size":{"type":"number","description":"Size of border"}}},"left":{"type":"object","properties":{"color":{"type":"string","description":"Color or hexa or 'EXTRAPOLATE'"},"unit":{"$ref":"#/definitions/unit"},"size":{"type":"number","description":"Size of border"}}},"right":{"type":"object","properties":{"color":{"type":"string","description":"Color or hexa or 'EXTRAPOLATE'"},"unit":{"$ref":"#/definitions/unit"},"size":{"type":"number","description":"Size of border"}}},"border_strategy":{"type":"object","properties":{"top":{"$ref":"#/definitions/top"},"bottom":{"$ref":"#/definitions/bottom"},"left":{"$ref":"#/definitions/left"},"right":{"$ref":"#/definitions/right"}}},"Model35":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of format"},"format_id":{"type":"number","description":"ID of format"},"background_color":{"type":"string","description":"Color or hexa"},"description":{"type":"string","description":"Desciption of format"},"file_format":{"$ref":"#/definitions/file_format"},"sample_filename":{"type":"string"},"height":{"type":"number","description":"px"},"width":{"type":"number","description":"px"},"icc_profile":{"$ref":"#/definitions/Model33"},"max_file_size":{"type":"number","description":"kb"},"max_width":{"type":"number","description":"px"},"authorize_max_width":{"type":"boolean","description":"Autoriser les dimensions supérieures","default":false},"position":{"$ref":"#/definitions/Model34"},"resolution":{"type":"number","description":"dpi"},"border_strategy":{"$ref":"#/definitions/border_strategy"}}},"formats":{"type":"array","description":"Formats","items":{"$ref":"#/definitions/Model35"}},"Model36":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of the view type"},"rang":{"type":"number","description":"Rang of the view type"},"code":{"type":"string","description":"Code of the view type"},"description":{"type":"string","description":"Description of the view type"},"shootingmethod":{"type":"string","description":"Shooting method for the view type"},"formats":{"$ref":"#/definitions/formats"}},"required":["smalltext","shootingmethod"]},"view_types":{"type":"array","description":"View types","items":{"$ref":"#/definitions/Model36"}},"Specification Category":{"type":"object","example":{"keywords":["PSSF_8_3","PSSF121_1"],"category_id":11,"ranking":1,"view_types":[{"smalltext":"model","rang":1,"code":"1","shootingmethod":"Flux Auto","description":"model intermediate front OR model front OR packshot classic OR model\nSANS_GABARIT OR SANS_GABARIT OR RECTANGLE_VERTICAL_5XL_CENTRE OR SANS_GABARIT1","formats":[{"format_id":1,"smalltext":"Beauté","background_color":"#FFFFFF","border_top":12,"border_bottom":12,"border_left":12,"border_right":12,"description":"","file_format":"PNG","sample_filename":"","height":1000,"width":1000,"icc_profile":"sRGB IEC61966-2.1","max_file_size":1000,"max_width":null,"authorize_max_width":false,"position":"South","resolution":72,"border_strategy":{"left":{"size":1,"unit":"%"},"top":{"size":1,"unit":"%"},"right":{"size":1,"unit":"%"},"bottom":{"size":1,"unit":"%"}}}]}],"smalltext":"4000: Adulte Hauts, Homewear Hauts, Porté"},"properties":{"keywords":{"$ref":"#/definitions/keywords"},"category_id":{"type":"number","description":"Id of category"},"ranking":{"type":"number","description":"Ranking"},"view_types":{"$ref":"#/definitions/view_types"},"smalltext":{"type":"string","description":"Name of category"}},"required":["smalltext"]},"Specification categories":{"type":"array","items":{"$ref":"#/definitions/Specification%20Category"}},"Model37":{"type":"object","properties":{"batch_id":{"type":"number","description":"id of the batch","minimum":-1},"type":{"type":"string","description":"batch type"},"zone":{"type":"string","description":"zone"},"smalltext":{"type":"string","description":"batch label"},"code":{"type":"string","description":"batch code (basically a barcode)"}}},"Model38":{"type":"array","items":{"$ref":"#/definitions/Model37"}},"Model39":{"type":"object","properties":{"smalltext":{"type":"string","description":"name of the zone"}}},"Stock zones":{"type":"array","items":{"$ref":"#/definitions/Model39"}},"Model40":{"type":"object","example":{"stock_item_id":1,"batch_id":1,"stock_item_status":10,"smalltext":"Bucket A14","ean":"1209834098","star":false,"extra":{},"date_cre":"2017-01-01T00:00:00.000Z","date_mod":"2017-01-01T00:00:00.000Z"},"properties":{"stock_item_id":{"type":"number","description":"id of the stock item","minimum":1},"batch_id":{"type":"number","description":"id of the batch in which the stock item is stored","minimum":1},"stock_item_status":{"type":"number","description":"Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost\n","enum":[10,12,15,17,20,30,40,45,48,50,51,60,70,75,90]},"smalltext":{"type":"string"},"ean":{"type":"string"},"star":{"type":"boolean"},"extra":{"$ref":"#/definitions/Model7"},"date_cre":{"type":"string","format":"date","description":"creation date of the item (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the item (in Grand Shooting)"}},"required":["stock_item_id"]},"Model41":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"},"folder_id":{"type":"number","example":2,"minimum":1}},"required":["name"]},"Model42":{"type":"array","items":{"$ref":"#/definitions/Model41"}},"status":{"type":"string","example":"COMPLETED","enum":["DRAFT","COMPLETED"]},"Model43":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"look_id":{"type":"number","example":2,"minimum":1},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model44":{"type":"array","items":{"$ref":"#/definitions/Model43"}},"recipients":{"type":"array","description":"emails of transfer recipients","items":{"type":"string"}},"Model45":{"type":"object","properties":{"smalltext":{"type":"string","description":"picture filename"},"path":{"type":"string","description":"path of the picture in the repository"},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"thumbnail":{"type":"string","description":"url of thumbnail"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"file_id":{"type":"string","description":"identifier of file content"},"blocks":{"$ref":"#/definitions/blocks"}}},"Model46":{"type":"array","items":{"$ref":"#/definitions/Model45"}},"Model47":{"type":"object","properties":{"account_id":{"type":"number","description":"id of the account storing files"},"transfer_id":{"type":"string","description":"uuid identifying transfer"},"email":{"type":"string","description":"email of the transfer creator"},"recipients":{"$ref":"#/definitions/recipients"},"repo_id":{"type":"string","description":"Files repository"},"files":{"$ref":"#/definitions/Model46"},"transferstatus":{"type":"number","description":"##### simple workflow steps:\n\t\t5 : initial state during creation and loading process\n\t\t10 : available for use\n\t\t40 : archived (files are not available anymore)\n\t","enum":[10,40]}}},"Model48":{"type":"object","properties":{"export_id":{"type":"number","description":"ID of export","example":2,"minimum":1},"active":{"type":"boolean","description":"If true, the broadcast is active for this export","example":"true"}},"required":["export_id","active"]},"Model49":{"type":"array","items":{"$ref":"#/definitions/Model48"}},"Model50":{"type":"string","enum":["missing_icc_profile","extract_ref","out_of_catalog","out_of_shotlist","out_of_set","unmatching_live_pattern","missing_view","unexpected_view","technical_error","incorrect_filename","missing_catalog","missing_value_catalog","duplicate_filename","missing_value_dictionnary","missing_info_look","format_compliancy","format_ratio","ai_analysis_failed","thumbnail_generation_failed"]},"Model51":{"type":"array","description":"alerts","items":{"$ref":"#/definitions/Model50"}},"Model52":{"type":"object","properties":{"picture_id":{"type":"number","description":"id of the picture","minimum":1},"bench_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"bench_root_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"benchsteptype":{"type":"number","description":"workflow step of production","enum":[10,20,30,40]},"benchstatus":{"type":"number","description":"status of production\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed","enum":[10,20,30,35,40,50]},"ref":{"type":"string","description":"ref extracted from picture"},"reference_ref":{"type":"string","description":"ref value of linked reference from catalog"},"path":{"type":"string","description":"path of the picture in the repository"},"file_path":{"type":"string","description":"path of the picture"},"smalltext":{"type":"string","description":"picture filename"},"picturestatus":{"type":"number","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","enum":[1,5,10,30,31,35,40,50,51,52,55,80]},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"reference_ids":{"$ref":"#/definitions/reference_ids"},"refs":{"$ref":"#/definitions/refs"},"looks":{"$ref":"#/definitions/looks"},"parent_id":{"type":"number","description":"parent picture"},"child_ids":{"$ref":"#/definitions/child_ids"},"icc_profile":{"type":"string","description":"icc profile of image"},"thumbnail":{"type":"string","description":"url of thumbnail"},"hash":{"type":"string","description":"hash computed from image content"},"file_id":{"type":"string","description":"identifier of file content"},"view_type_code":{"type":"string","description":"view type code"},"transfer_date":{"type":"string","format":"date","description":"transfert date of the picture (in Grand Shooting)"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"validation_date":{"type":"string","format":"date","description":"Validation date"},"frame":{"$ref":"#/definitions/frame"},"export":{"type":"string","description":"name of the export"},"exportpicturestatus":{"type":"number","description":"status of export"},"taginfo":{"$ref":"#/definitions/taginfo"},"shootingmethod":{"type":"string","description":"name of the shooting method"},"look_id":{"type":"number","description":"ID of look"},"alerts":{"$ref":"#/definitions/Model51"}}},"Model53":{"type":"array","items":{"$ref":"#/definitions/Model52"}},"Model54":{"type":"string","enum":["Technical","Comment"]},"Comment":{"type":"object","example":{"type":"Technical","picture_id":1234,"source_picture_id":1233,"login":"johnDoe","firstname":"John","lastname":"Doe","date":"2017-01-01T00:00:00.000Z","benchsteptype":20,"comment":"Super commentaire !","avatar":"http://www.example.com/avatar.jpg","access":"normal","versionIndex":1},"properties":{"type":{"$ref":"#/definitions/Model54"},"picture_id":{"type":"integer","minimum":1},"source_picture_id":{"type":"integer","minimum":1},"login":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"date":{"type":"string","format":"date"},"benchsteptype":{"type":"number","enum":[10,20,30,40]},"comment":{"type":"string"},"avatar":{"type":"string"},"access":{"type":"string"},"versionIndex":{"type":"integer"}}},"Model55":{"type":"array","description":"List of comments","items":{"$ref":"#/definitions/Comment"}},"label":{"type":"string","description":"color tag of picture","enum":["transparent","white","yellow","orange","red","pink","purple","blue","green"]},"Picture tag":{"type":"object","description":"Meta tag of picture"},"Picture tags":{"type":"object","example":{"rating":2,"label":"red","tags":{"MODEL":true,"PACKSHOT":false,"RECO":true}},"properties":{"rating":{"type":"number","description":"rating of picture, between 0 and 5","minimum":0,"maximum":5},"label":{"$ref":"#/definitions/label"},"tags":{"$ref":"#/definitions/Picture%20tag"}}},"infos":{"type":"object","description":"infos used to build folder"},"Model56":{"type":"object","properties":{"ref":{"type":"string","description":"reference to shoot"},"folder":{"type":"string","description":"folder path"},"infos":{"$ref":"#/definitions/infos"},"reference_id":{"type":"number","description":"if ref matches a reference in catalog, corresponding reference_id"},"look_id":{"type":"number","description":"if ref matches a look, corresponding look_id"}}},"Model57":{"type":"array","items":{"$ref":"#/definitions/Model56"}},"Model58":{"type":"object","properties":{"account_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"production":{"$ref":"#/definitions/production"},"live":{"$ref":"#/definitions/live"},"edit1":{"$ref":"#/definitions/edit1"},"edit2":{"$ref":"#/definitions/edit2"},"validation":{"$ref":"#/definitions/validation"}}},"Model59":{"type":"string","enum":["missing_icc_profile","extract_ref","out_of_catalog","out_of_shotlist","out_of_set","unmatching_live_pattern","missing_view","unexpected_view","technical_error","incorrect_filename","missing_catalog","missing_value_catalog","duplicate_filename","missing_value_dictionnary","missing_info_look","format_compliancy","format_ratio","ai_analysis_failed","thumbnail_generation_failed"]},"Model60":{"type":"array","description":"alerts","items":{"$ref":"#/definitions/Model59"}},"Model61":{"type":"object","properties":{"picture_id":{"type":"number","description":"id of the picture","minimum":1},"bench_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"bench_root_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"benchsteptype":{"type":"number","description":"workflow step of production","enum":[10,20,30,40]},"benchstatus":{"type":"number","description":"status of production\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed","enum":[10,20,30,35,40,50]},"ref":{"type":"string","description":"ref extracted from picture"},"reference_ref":{"type":"string","description":"ref value of linked reference from catalog"},"path":{"type":"string","description":"path of the picture in the repository"},"file_path":{"type":"string","description":"path of the picture"},"smalltext":{"type":"string","description":"picture filename"},"picturestatus":{"type":"number","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","enum":[1,5,10,30,31,35,40,50,51,52,55,80]},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"reference_ids":{"$ref":"#/definitions/reference_ids"},"refs":{"$ref":"#/definitions/refs"},"looks":{"$ref":"#/definitions/looks"},"parent_id":{"type":"number","description":"parent picture"},"child_ids":{"$ref":"#/definitions/child_ids"},"icc_profile":{"type":"string","description":"icc profile of image"},"thumbnail":{"type":"string","description":"url of thumbnail"},"hash":{"type":"string","description":"hash computed from image content"},"file_id":{"type":"string","description":"identifier of file content"},"view_type_code":{"type":"string","description":"view type code"},"transfer_date":{"type":"string","format":"date","description":"transfert date of the picture (in Grand Shooting)"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"validation_date":{"type":"string","format":"date","description":"Validation date"},"frame":{"$ref":"#/definitions/frame"},"export":{"type":"string","description":"name of the export"},"exportpicturestatus":{"type":"number","description":"status of export"},"taginfo":{"$ref":"#/definitions/taginfo"},"shootingmethod":{"type":"string","description":"name of the shooting method"},"look_id":{"type":"number","description":"ID of look"},"alerts":{"$ref":"#/definitions/Model60"}}},"Model62":{"type":"array","items":{"$ref":"#/definitions/Model61"}},"Reference with Pictures":{"type":"object","properties":{"reference_id":{"type":"number","description":"id of the reference","minimum":1},"ref":{"type":"string","description":"reference label identifier"},"ean":{"type":"string","description":"main ean"},"eans":{"$ref":"#/definitions/eans"},"eans_extended":{"$ref":"#/definitions/eans_extended"},"univers":{"type":"string","description":"univers, level 1 in catalog hierarchy"},"gamme":{"type":"string","description":"gamme, level 2 in catalog hierarchy"},"family":{"type":"string","description":"family, level 3 in catalog hierarchy"},"sku":{"type":"string","description":"sku"},"brand":{"type":"string","description":"brand"},"smalltext":{"type":"string","description":"reference label"},"category_id":{"type":"number","description":"product category identifier"},"product_ref":{"type":"string","description":"product identifier"},"product_smalltext":{"type":"string","description":"product label"},"gender":{"type":"string","description":"gender"},"gender_smalltext":{"type":"string","description":"gender"},"color":{"type":"string","description":"color"},"hexa_color":{"type":"string","description":"Code couleur RGB en hexa décimal"},"size":{"type":"string","description":"size"},"collection":{"type":"string","description":"collection"},"comment":{"type":"string","description":"comment"},"tags":{"$ref":"#/definitions/tags"},"extra":{"$ref":"#/definitions/extra"},"shotlist_id":{"type":"number","description":"id of a shotlist to add reference to","minimum":1},"shotlist":{"type":"string","description":"name of a shotlist to add reference to (shotlist will be created if it doesnt exists)"},"date_cre":{"type":"string","format":"date","description":"creation date of the reference (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the reference (in Grand Shooting)"},"online":{"type":"string","description":"online date"},"pictures":{"$ref":"#/definitions/Model62"}},"required":["ref"]},"Reference tags":{"type":"object","description":"Meta tag of reference","example":{"TAG1":true,"TAG2":true}},"Model63":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"},"folder_id":{"type":"number","example":2,"minimum":1}},"required":["name"]},"Model64":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"look_id":{"type":"number","example":2,"minimum":1},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model65":{"type":"object","properties":{"export_id":{"type":"number","description":"ID of export","example":2,"minimum":1},"active":{"type":"boolean","description":"If true, the broadcast is active for this export","example":"true"}},"required":["export_id","active"]},"Frame example":{"type":"object","example":{"x1":500,"y1":500,"x2":1500,"y2":1000,"z":-0.32251074646782035,"zp":{"x":-276.4505420512299,"y":300.5206963482769},"smalltext":"Zalando"},"properties":{"x1":{"type":"number","description":"start x pixel"},"y1":{"type":"number","description":"start y pixel"},"x2":{"type":"number","description":"end x pixel"},"y2":{"type":"number","description":"end y pixel"},"z":{"type":"number","description":"rotation degree"},"zp":{"$ref":"#/definitions/zp"},"smalltext":{"type":"string","description":"Optional name for the frame"}},"required":["x1","y1","x2","y2"]},"Model66":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"reference_id":{"type":"number","example":42,"minimum":1},"look_reference_id":{"type":"number","example":1,"minimum":1},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model67":{"type":"array","items":{"$ref":"#/definitions/Model66"}},"Model68":{"type":"object","properties":{"status":{"type":"string","description":"Status of the process (RUNNING, OK, ERROR"},"desc":{"type":"string","description":"Description when an error occurred"}}},"Model69":{"type":"object","properties":{"exists":{"type":"boolean"}}},"Model70":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"reference_id":{"type":"number","example":42,"minimum":1},"look_reference_id":{"type":"number","example":1,"minimum":1},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model71":{"type":"string","example":"FTP","enum":["FTP","FTPS","SFTP","WEBDAV"]},"_extra":{"type":"object","description":"Reserved for internal use"},"Model72":{"type":"object","properties":{"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/Model71"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"password":{"type":"string","description":"Password","example":"my_very_serure_password"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"},"_extra":{"$ref":"#/definitions/_extra"}},"required":["type","host","user","password","cron"]},"Model73":{"type":"object","properties":{"broadcast_id":{"type":"number","description":"ID of broadcast","example":2,"minimum":1},"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/type"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"}},"required":["broadcast_id","type","host","user","cron"]},"Model74":{"type":"object","description":"Information stored with production (info_model field)"},"Production info":{"type":"object","example":{"smalltext":"RTW_2019 DAY1 packshot","startdate":"2018-12-25T22:45:00","enddate":"2018-12-26T22:45:00","timezone":"Europe/Paris","tzoffset":60,"shooting_method_id":1,"template_id":1,"briefing":"https://www.grand-shooting.com/","info":{"Photograph":"John Smith","Model":"John Snow","Stylist":"John Wick"},"info_model":[{"key":"Photograph","label":"Photograph","type":"text"},{"key":"Model","label":"Model","type":"text"},{"key":"stylist","label":"Stylist","type":"text"},{"key":"online_date","label":"Online date","type":"date"},{"key":"studio_number","label":"Studio number","type":"int"}]},"properties":{"smalltext":{"type":"string","description":"Bench label"},"startdate":{"type":"string","format":"date","description":"Start date"},"enddate":{"type":"string","format":"date","description":"End date"},"timezone":{"type":"string","description":"Timezone","default":"Europe/Paris"},"tzoffset":{"type":"number","description":"Timezone offset in minutes","default":60},"shooting_method_id":{"type":"number","description":"Shooting method ID","minimum":1},"bench_template_id":{"type":"number","description":"Id of a template to configure bench","minimum":1},"template_account_id":{"type":"number","description":"account_id to use to load template, if empty, use the token account_id","minimum":1},"briefing":{"type":"string","description":"Url of a briefing giving information on production procedures"},"info":{"$ref":"#/definitions/Model74"},"info_model":{"$ref":"#/definitions/info_model"}},"required":["smalltext","startdate","shooting_method_id"]},"Shooting Method":{"type":"object","properties":{"shootingmethod":{"type":"string","description":"Name of shooting method"}}},"Model75":{"type":"object","properties":{"batch_id":{"type":"number","description":"batch id"},"reference_id":{"type":"number","description":"reference id"},"smalltext":{"type":"string","description":"Free label on stock item"},"ean":{"type":"string"},"star":{"type":"boolean"},"extra":{"$ref":"#/definitions/Model7"},"stock_item_status":{"type":"number","description":"Status of the stock object"}},"required":["reference_id","stock_item_status"]},"topic":{"type":"string","description":"Event that triggers the webhook. ","enum":["pictures/create","pictures/update","pictures/delete","references/create","references/update","references/delete"]},"Model76":{"type":"object","example":{"address":"https://myapp.com/picture","topic":"pictures/create"},"properties":{"address":{"type":"string","description":"URI where the webhook subscription should send the POST request when the event occurs."},"topic":{"$ref":"#/definitions/topic"}},"required":["address","topic"]},"picture_id":{"type":"array","maxItems":50,"items":{"type":"number","description":"Picture id"}},"Picture status":{"type":"object","properties":{"picture_id":{"$ref":"#/definitions/picture_id"},"picturestatus":{"type":"number","description":"The new picture status"},"comment":{"type":"string","description":"Add comment with the status"}},"required":["picturestatus"]},"Model77":{"type":"object","properties":{"export_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"config":{"$ref":"#/definitions/config"},"archived":{"type":"boolean"},"format_ids":{"$ref":"#/definitions/format_ids"}}},"Model78":{"type":"object","properties":{"template_id":{"type":"integer","minimum":1},"account_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"production":{"$ref":"#/definitions/production"},"live":{"$ref":"#/definitions/live"},"edit1":{"$ref":"#/definitions/edit1"},"edit2":{"$ref":"#/definitions/edit2"},"validation":{"$ref":"#/definitions/validation"}}},"Extra Fields":{"type":"array","items":{"$ref":"#/definitions/Column%20model"}},"Model79":{"type":"object","properties":{"keywords":{"$ref":"#/definitions/keywords"},"category_id":{"type":"number","description":"Id of category"},"ranking":{"type":"number","description":"Ranking"},"view_types":{"$ref":"#/definitions/view_types"},"smalltext":{"type":"string","description":"Name of category"}},"required":["smalltext"]},"categories":{"type":"array","items":{"$ref":"#/definitions/Model79"}},"Model80":{"type":"object","description":"Categories to create","properties":{"categories":{"$ref":"#/definitions/categories"}}},"Model81":{"type":"string","enum":["sRGB IEC61966-2.1","Adobe RGB (1998)",{"value":{"allowUnknown":true}}]},"Model82":{"type":"string","description":"Position with border","default":"Center","enum":["NorthWest","North","NorthEast","West","Center","East","SouthWest","South","SouthEast"]},"Model83":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of format"},"format_id":{"type":"number","description":"ID of format"},"background_color":{"type":"string","description":"Color or hexa"},"description":{"type":"string","description":"Desciption of format"},"file_format":{"$ref":"#/definitions/file_format"},"sample_filename":{"type":"string"},"height":{"type":"number","description":"px"},"width":{"type":"number","description":"px"},"icc_profile":{"$ref":"#/definitions/Model81"},"max_file_size":{"type":"number","description":"kb"},"max_width":{"type":"number","description":"px"},"authorize_max_width":{"type":"boolean","description":"Autoriser les dimensions supérieures","default":false},"position":{"$ref":"#/definitions/Model82"},"resolution":{"type":"number","description":"dpi"},"border_strategy":{"$ref":"#/definitions/border_strategy"}}},"batch creation":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of the batch"},"type":{"type":"string","description":"Type of the batch"},"code":{"type":"string","description":"batch code (basically a barcode)"},"zone":{"type":"string","description":"Zone where the batch is located"}}},"Stock batch":{"type":"object","example":{"batch_id":1,"type":"Bucket","zone":"Warehouse A","smalltext":"Bucket A14","code":"1209834098"},"properties":{"batch_id":{"type":"number","description":"id of the batch","minimum":-1},"type":{"type":"string","description":"batch type"},"zone":{"type":"string","description":"zone"},"smalltext":{"type":"string","description":"batch label"},"code":{"type":"string","description":"batch code (basically a barcode)"}}},"Model84":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"}},"required":["name"]},"Model85":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"},"folder_id":{"type":"number","example":2,"minimum":1}},"required":["name"]},"Model86":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model87":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"look_id":{"type":"number","example":2,"minimum":1},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"picture_ids":{"type":"array","description":"The id of pictures to edit","items":{"type":"number"}},"Transfer":{"type":"object","properties":{"picture_ids":{"$ref":"#/definitions/picture_ids"},"transfer_id":{"type":"number","description":"The id of FTP transfer"},"get_path":{"type":"string","description":"Set path to get picture from the FTP"},"put_path":{"type":"string","description":"Set path to put picture to FTP"},"provision_code":{"type":"string","description":"Set the edit code"},"account_id":{"type":"number","description":"Account id of picture to retouch"}},"required":["picture_ids","transfer_id"]},"Model88":{"type":"object","properties":{"product_ref":{"type":"string","description":"Product ref of reference"},"bench_id":{"type":"number","description":"Bench ID of picture"},"account_id_part":{"type":"number","description":"Account id of picture"}},"required":["product_ref"]},"Model89":{"type":"array","items":{"type":"string"}},"Model90":{"type":"object","properties":{"transfer_id":{"type":"number","description":"The id of FTP transfer"},"get_path":{"type":"string","description":"Set path to get picture from the FTP"},"put_path":{"type":"string","description":"Set path to put picture to FTP"},"provision_code":{"type":"string","description":"Set the edit code"},"account_id":{"type":"number","description":"Account id of picture to retouch"}},"required":["transfer_id"]},"Model91":{"type":"object","properties":{"picturestatus":{"type":"number","description":"The new picture status"},"comment":{"type":"string","description":"Add comment with the status"}},"required":["picturestatus"]},"Model92":{"type":"object","properties":{"ref":{"type":"string","description":"Ref on which the picture should be linked"},"use_for_ref":{"type":"boolean","description":"indicate if the picture should be used for reference"}}},"references":{"type":"array","items":{"$ref":"#/definitions/Model92"}},"Model93":{"type":"object","properties":{"references":{"$ref":"#/definitions/references"}}},"Model94":{"type":"object","properties":{"picturestatus":{"type":"number","description":"picturestatus to apply on picture when the link is used"},"comment":{"type":"string","description":"comment to add to picture when the link is used"},"validity":{"type":"number","description":"Validity of the link in seconds","default":3600,"maximum":604800}}},"Model95":{"type":"object","properties":{"smalltext":{"type":"string","description":"The path of picture"},"force":{"type":"boolean","description":"The path of picture"}},"required":["smalltext"]},"Bench reference mapping":{"type":"object","properties":{"ref":{"type":"string"},"bench_id":{"type":"number"}}},"Bench reference mappings":{"type":"array","items":{"$ref":"#/definitions/Bench%20reference%20mapping"}},"Model96":{"type":"object","properties":{"path":{"type":"string","description":"path of the file content"},"file_id":{"type":"string","description":"identifier of file content"},"blocks":{"$ref":"#/definitions/blocks"}}},"Model97":{"type":"array","items":{"$ref":"#/definitions/Model96"}},"Model98":{"type":"object","properties":{"files":{"$ref":"#/definitions/Model97"}}},"Model99":{"type":"object","properties":{"status":{"type":"string"}}},"batch modification":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of the batch"},"type":{"type":"string","description":"Type of the batch"},"code":{"type":"string","description":"batch code (basically a barcode)"},"zone":{"type":"string","description":"Zone where the batch is located"}}},"Model100":{"type":"object","properties":{"email":{"type":"string","description":"email of the transfer creator (if different from the autenticated user)"},"recipients":{"$ref":"#/definitions/recipients"},"verification_code":{"type":"string","description":"validation code sent to the transfer creator email (only necessary when providing an email transfer creator)"}}},"Model101":{"type":"array","description":"list of files to send to sourcing, if not specified, all files will be sent","items":{"type":"string"}},"Model102":{"type":"object","properties":{"files":{"$ref":"#/definitions/Model101"},"import_id":{"type":"number","description":"Sourcing import id"},"append":{"type":"boolean","description":"Add images to project or delete/insert images to projet (default true)"}}},"Model103":{"type":"object","properties":{"process_id":{"type":"string","description":"id of the process to check"}}},"Model104":{"type":"object","properties":{"file":{"type":"file","description":"picture file","x-meta":{"swaggerType":"file"},"in":"formData"}},"required":["file"]},"Model105":{"type":"object","properties":{"status":{"type":"string"}}},"Model106":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model107":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"reference_id":{"type":"number","example":42,"minimum":1},"look_reference_id":{"type":"number","example":1,"minimum":1},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model108":{"type":"object","properties":{"url":{"type":"string","description":"url of picture to upload","example":"https://my.image.com/filename_1.jpg"},"filename":{"type":"string","description":"filename","example":"filename_1.jpg"},"subpath":{"type":"string","description":"subpath to upload picture, is combined with base path value"},"ref":{"type":"string","description":"ref of picture to upload"},"view_type_code":{"type":"string","description":"view type code of the picture to upload"},"parent_id":{"type":"number","description":"parent id of the picture to upload"}},"required":["url","filename"]},"urls":{"type":"array","description":"list of urls","items":{"$ref":"#/definitions/Model108"}},"allowed_type":{"type":"string","description":"types of files that are allowed to be uploaded","default":"images and videos","enum":["all","images","images and videos"]},"Model109":{"type":"object","properties":{"wait":{"type":"boolean","description":"wait end of upload and file analysis","default":false},"path":{"type":"string","description":"path to upload picture","default":"/"},"urls":{"$ref":"#/definitions/urls"},"allowed_type":{"$ref":"#/definitions/allowed_type"},"transfer_id":{"type":"number","description":"id of a transfer the files uploaded are linked to. Only for plugins purpose"}}},"Model110":{"type":"string","description":"status of upload","example":"ERROR","enum":["OK","ERROR"]},"Model111":{"type":"string","enum":["missing_icc_profile","extract_ref","out_of_catalog","out_of_shotlist","out_of_set","unmatching_live_pattern","missing_view","unexpected_view","technical_error","incorrect_filename","missing_catalog","missing_value_catalog","duplicate_filename","missing_value_dictionnary","missing_info_look","format_compliancy","format_ratio","ai_analysis_failed","thumbnail_generation_failed"]},"Model112":{"type":"array","description":"alerts","items":{"$ref":"#/definitions/Model111"}},"picture":{"type":"object","properties":{"picture_id":{"type":"number","description":"id of the picture","minimum":1},"bench_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"bench_root_id":{"type":"number","description":"id of the bench the picture belongs to","minimum":1},"benchsteptype":{"type":"number","description":"workflow step of production","enum":[10,20,30,40]},"benchstatus":{"type":"number","description":"status of production\n\t\t10 : Active\n\t\t20 : In progress\n\t\t30 : Finished\n\t\t35 : Archiving\n\t\t40 : Archived\n\t\t50 : Flushed","enum":[10,20,30,35,40,50]},"ref":{"type":"string","description":"ref extracted from picture"},"reference_ref":{"type":"string","description":"ref value of linked reference from catalog"},"path":{"type":"string","description":"path of the picture in the repository"},"file_path":{"type":"string","description":"path of the picture"},"smalltext":{"type":"string","description":"picture filename"},"picturestatus":{"type":"number","description":"###### Worlflow step of the picture.\n\t\t1 : ignored\n\t\t5 : to reshoot\n\t\t10 : not selected\n\t\t30 : selected\n\t\t31 : refused\n\t\t35 : refused\n\t\t40 : submited for approval\n\t\t50 : validated\n\t\t51 : ready to broadcast (in case of manual broadcast)\n\t\t52 : error during broadcast\n\t\t55 : broadcast (once validated a picture can be broadcast on )\n\t\t80 : archived\n\t","enum":[1,5,10,30,31,35,40,50,51,52,55,80]},"filesize":{"type":"number","description":"filesize"},"width":{"type":"number","description":"width"},"height":{"type":"number","description":"height"},"reference_id":{"type":"string","x-alternatives":[{"type":"string"},{"type":"number","minimum":1}]},"reference_ids":{"$ref":"#/definitions/reference_ids"},"refs":{"$ref":"#/definitions/refs"},"looks":{"$ref":"#/definitions/looks"},"parent_id":{"type":"number","description":"parent picture"},"child_ids":{"$ref":"#/definitions/child_ids"},"icc_profile":{"type":"string","description":"icc profile of image"},"thumbnail":{"type":"string","description":"url of thumbnail"},"hash":{"type":"string","description":"hash computed from image content"},"file_id":{"type":"string","description":"identifier of file content"},"view_type_code":{"type":"string","description":"view type code"},"transfer_date":{"type":"string","format":"date","description":"transfert date of the picture (in Grand Shooting)"},"date_cre":{"type":"string","format":"date","description":"creation date of the picture (in Grand Shooting)"},"date_mod":{"type":"string","format":"date","description":"last modification date of the picture (in Grand Shooting)"},"validation_date":{"type":"string","format":"date","description":"Validation date"},"frame":{"$ref":"#/definitions/frame"},"export":{"type":"string","description":"name of the export"},"exportpicturestatus":{"type":"number","description":"status of export"},"taginfo":{"$ref":"#/definitions/taginfo"},"shootingmethod":{"type":"string","description":"name of the shooting method"},"look_id":{"type":"number","description":"ID of look"},"alerts":{"$ref":"#/definitions/Model112"}}},"Model113":{"type":"object","properties":{"url":{"type":"string","description":"url of picture","example":"https://my.image.com/badfile_1.json"},"status":{"$ref":"#/definitions/Model110"},"mime_type":{"type":"string","description":"mime type of the content behind the url","example":"application/json"},"picture":{"$ref":"#/definitions/picture"},"status_desc":{"type":"string","description":"Free description of status","example":"Invalid content type application/json"}},"required":["url"]},"Model114":{"type":"array","description":"Upload report","items":{"$ref":"#/definitions/Model113"}},"Model115":{"type":"string","example":"FTP","enum":["FTP","FTPS","SFTP","WEBDAV"]},"Model116":{"type":"object","properties":{"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/Model115"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"password":{"type":"string","description":"Password","example":"my_very_serure_password"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"},"_extra":{"$ref":"#/definitions/_extra"}},"required":["type","host","user","password","cron"]},"Model117":{"type":"object","properties":{"broadcast_id":{"type":"number","description":"ID of broadcast","example":2,"minimum":1},"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/type"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"}},"required":["broadcast_id","type","host","user","cron"]},"Model118":{"type":"object","properties":{"picture_id":{"$ref":"#/definitions/picture_id"},"tags":{"$ref":"#/definitions/Picture%20tags"}}},"Model119":{"type":"object","description":"Information stored with production"},"Model120":{"type":"object","example":{"smalltext":"RTW_2019 DAY1 packshot","startdate":"2018-12-25T22:45:00","enddate":"2018-12-26T22:45:00","timezone":"Europe/Paris","tzoffset":60,"shooting_method_id":1,"bench_template_id":1,"info":{"Photograph":"John Smith","Model":"John Snow","Stylist":"John Wick"},"info_model":[{"key":"Photograph","label":"Photograph","type":"text"},{"key":"Model","label":"Model","type":"text"},{"key":"stylist","label":"Stylist","type":"text"},{"key":"online_date","label":"Online date","type":"date"},{"key":"studio_number","label":"Studio number","type":"int"}]},"properties":{"smalltext":{"type":"string","description":"Bench label"},"startdate":{"type":"string","format":"date","description":"Start date"},"enddate":{"type":"string","format":"date","description":"End date"},"timezone":{"type":"string","description":"Timezone","default":"Europe/Paris"},"tzoffset":{"type":"number","description":"Timezone offset in minutes","default":60},"shooting_method_id":{"type":"number","description":"Shooting method ID","minimum":1},"info":{"$ref":"#/definitions/Model119"},"info_model":{"$ref":"#/definitions/info_model"}}},"reference_id":{"type":"array","description":"Array of reference IDs to update","minItems":1,"items":{"type":"number"}},"Model121":{"type":"object","description":"Meta tag of reference"},"Model122":{"type":"object","description":"Bulk tag update payload","properties":{"reference_id":{"$ref":"#/definitions/reference_id"},"tags":{"$ref":"#/definitions/Model121"}},"required":["reference_id"]},"Model123":{"type":"object","description":"Results object mapping reference IDs to their updated tags (200 status)"},"Model124":{"type":"object","properties":{"export_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"config":{"$ref":"#/definitions/config"},"archived":{"type":"boolean"},"format_ids":{"$ref":"#/definitions/format_ids"}}},"Model125":{"type":"object","properties":{"template_id":{"type":"integer","minimum":1},"account_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"production":{"$ref":"#/definitions/production"},"live":{"$ref":"#/definitions/live"},"edit1":{"$ref":"#/definitions/edit1"},"edit2":{"$ref":"#/definitions/edit2"},"validation":{"$ref":"#/definitions/validation"}}},"Model126":{"type":"object","description":"Extra data to update"},"Reference extra update":{"type":"object","properties":{"extra":{"$ref":"#/definitions/Model126"}},"required":["extra"]},"Model127":{"type":"string","enum":["sRGB IEC61966-2.1","Adobe RGB (1998)",{"value":{"allowUnknown":true}}]},"Model128":{"type":"string","description":"Position with border","default":"Center","enum":["NorthWest","North","NorthEast","West","Center","East","SouthWest","South","SouthEast"]},"Model129":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of format"},"format_id":{"type":"number","description":"ID of format"},"background_color":{"type":"string","description":"Color or hexa"},"description":{"type":"string","description":"Desciption of format"},"file_format":{"$ref":"#/definitions/file_format"},"sample_filename":{"type":"string"},"height":{"type":"number","description":"px"},"width":{"type":"number","description":"px"},"icc_profile":{"$ref":"#/definitions/Model127"},"max_file_size":{"type":"number","description":"kb"},"max_width":{"type":"number","description":"px"},"authorize_max_width":{"type":"boolean","description":"Autoriser les dimensions supérieures","default":false},"position":{"$ref":"#/definitions/Model128"},"resolution":{"type":"number","description":"dpi"},"border_strategy":{"$ref":"#/definitions/border_strategy"}}},"Model130":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"}},"required":["name"]},"Model131":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"},"folder_id":{"type":"number","example":2,"minimum":1}},"required":["name"]},"Model132":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model133":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"look_id":{"type":"number","example":2,"minimum":1},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model134":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model135":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"reference_id":{"type":"number","example":42,"minimum":1},"look_reference_id":{"type":"number","example":1,"minimum":1},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]},"Model136":{"type":"string","example":"FTP","enum":["FTP","FTPS","SFTP","WEBDAV"]},"Model137":{"type":"object","properties":{"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/Model136"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"password":{"type":"string","description":"Password","example":"my_very_serure_password"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"},"_extra":{"$ref":"#/definitions/_extra"}}},"Model138":{"type":"object","properties":{"broadcast_id":{"type":"number","description":"ID of broadcast","example":2,"minimum":1},"name":{"type":"string","example":"FTP interne"},"type":{"$ref":"#/definitions/type"},"host":{"type":"string","description":"Host. Can be a domain name or an IP address. Can be followed by a port number.","example":"ftp.mycompany.com:22"},"user":{"type":"string","description":"User","example":"Jean Blaguin"},"use_full_path":{"type":"boolean","description":"If true, the full path will be used for the file name","example":true},"deposit_folder":{"type":"string","description":"The folder where the files will be deposited","example":"/root/mycollection/"},"date_from":{"type":"string","format":"date","description":"Media will be broadcasted from this date","example":"2017-01-01T00:00:00.000Z"},"double_validation":{"type":"boolean","description":"If true, media will be broadcasted after a second validation","example":true},"cron":{"type":"string","description":"Cron expression with 6 fields for the broadcast","example":"30 12,20 * * * *","pattern":"^((((\\d+,)+\\d+|(\\d+(\\/|-|#)\\d+)|\\d+L?|\\*(\\/\\d+)?|L(-\\d+)?|\\?|[A-Z]{3}(-[A-Z]{3})?) ?){6})$"}},"required":["broadcast_id","type","host","user","cron"]},"Model139":{"type":"object","properties":{"stock_item_status":{"type":"number","description":"Status of the stock item, 10: Warehouse stock, 12: Picking, 15:Sent, 17:Sent from warehouse, 20: Receive, 30: Add to stock, 40: Inventory, 45: Transfer, 48: Enriched, 50: Prepare, 51: Client return, 60: Error, 70: Mark as dispatched, 75 : Back in warehouse, 90: Lost\n","enum":[10,12,15,17,20,30,40,45,48,50,51,60,70,75,90]},"batch_id":{"type":"number","description":"id of the batch in which the stock item is stored","minimum":1},"smalltext":{"type":"string"},"extra":{"$ref":"#/definitions/Model7"}}},"Model140":{"type":"object","properties":{"export_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"config":{"$ref":"#/definitions/config"},"archived":{"type":"boolean"},"format_ids":{"$ref":"#/definitions/format_ids"}}},"Model141":{"type":"object","properties":{"template_id":{"type":"integer","minimum":1},"account_id":{"type":"integer","minimum":1},"smalltext":{"type":"string"},"production":{"$ref":"#/definitions/production"},"live":{"$ref":"#/definitions/live"},"edit1":{"$ref":"#/definitions/edit1"},"edit2":{"$ref":"#/definitions/edit2"},"validation":{"$ref":"#/definitions/validation"}}},"Model142":{"type":"string","enum":["sRGB IEC61966-2.1","Adobe RGB (1998)",{"value":{"allowUnknown":true}}]},"Model143":{"type":"string","description":"Position with border","default":"Center","enum":["NorthWest","North","NorthEast","West","Center","East","SouthWest","South","SouthEast"]},"Model144":{"type":"object","properties":{"smalltext":{"type":"string","description":"Name of format"},"format_id":{"type":"number","description":"ID of format"},"background_color":{"type":"string","description":"Color or hexa"},"description":{"type":"string","description":"Desciption of format"},"file_format":{"$ref":"#/definitions/file_format"},"sample_filename":{"type":"string"},"height":{"type":"number","description":"px"},"width":{"type":"number","description":"px"},"icc_profile":{"$ref":"#/definitions/Model142"},"max_file_size":{"type":"number","description":"kb"},"max_width":{"type":"number","description":"px"},"authorize_max_width":{"type":"boolean","description":"Autoriser les dimensions supérieures","default":false},"position":{"$ref":"#/definitions/Model143"},"resolution":{"type":"number","description":"dpi"},"border_strategy":{"$ref":"#/definitions/border_strategy"}}},"Model145":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"}}},"Model146":{"type":"object","properties":{"name":{"type":"string","example":"Look 04/07/2022"},"folder_id":{"type":"number","example":2,"minimum":1}},"required":["name"]},"Model147":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}}},"Model148":{"type":"object","properties":{"name":{"type":"string","example":"Ensemble marin 18"},"description":{"type":"string","example":"Haut DEDEDSS + bas FSDDVCD"},"look_id":{"type":"number","example":2,"minimum":1},"folder_id":{"type":"number","example":4,"minimum":1},"status":{"$ref":"#/definitions/status"},"thumbnail":{"type":"string","example":"https://www.starnimo.com/wp-content/uploads/2020/12/chaton-mignon-roux.jpg","x-format":{"uri":true}}},"required":["folder_id"]},"Model149":{"type":"object","properties":{"active":{"type":"boolean","description":"If true, the broadcast is active for this export","example":"true"}},"required":["active"]},"Model150":{"type":"object","properties":{"export_id":{"type":"number","description":"ID of export","example":2,"minimum":1},"active":{"type":"boolean","description":"If true, the broadcast is active for this export","example":"true"}},"required":["export_id","active"]},"Model151":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"main":{"type":"boolean","example":true,"default":false}}},"Model152":{"type":"object","properties":{"ref":{"type":"string","example":"LKFJRKLDM-001"},"reference_id":{"type":"number","example":42,"minimum":1},"look_reference_id":{"type":"number","example":1,"minimum":1},"main":{"type":"boolean","example":true,"default":false}},"required":["ref"]}},"x-alt-definitions":{"duplicate_look":{"type":"string","enum":["only"]},"Model1":{"type":"object","description":"Results object mapping reference IDs to their updated tags (200 status)"},"succeeded":{"type":"array","description":"Array of succeeded reference IDs","items":{"type":"string"}},"Model2":{"type":"object","properties":{"reference_id":{"type":"string","description":"Reference ID that failed"},"error":{"type":"string","description":"Error message"}},"required":["reference_id","error"]},"failed":{"type":"array","description":"Array of failed references with error details","items":{"$ref":"#/x-alt-definitions/Model2"}},"Model3":{"type":"object","description":"Multi-status response (207 status) or error response (404/400 status)","properties":{"succeeded":{"$ref":"#/x-alt-definitions/succeeded"},"failed":{"$ref":"#/x-alt-definitions/failed"}}}}}