Edit one listing field's draft
PATCH
Saves value as the draft of field in the store locale (locale is the store's own code: ja on Apple, ja-JP on Play); "" or the live text drops the draft. Any change clears that locale's tick. A locale the store doesn't show yet needs a language the app's UI speaks (409 language_not_in_app). Nothing reaches the store until the locale is ticked and pushed. Signed-in owners and admins only.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidrepository_id*stringFormat
uuidapplication/json- body
field*stringLength
1 <= length <= 40locale*stringLength
2 <= length <= 16platform*stringValue in
"ios""android"value*stringLength
length <= 16000Request fulfilled, document follows
application/json- response
adopted*booleaneditable?imported_at?string|nulllanguages?array<>locales*array<>review?work?|nullcurl -X PATCH 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/store/listing' \ -H 'Content-Type: application/json' \ -d '{ "field": "string", "locale": "string", "platform": "ios", "value": "string"}'Example Response
{ "adopted": true, "editable": { "property1": true, "property2": true }, "imported_at": "string", "languages": [ { "apple": "string", "in_app": true, "key": "string", "listed": true, "name": "string", "play": "string", "translation_requested": false } ], "locales": [ { "captures": [ { "ai_generated": true, "artwork_model": "string", "artwork_sha256": "string", "caption": "string", "caption_back_translation": "string", "display_type": "string", "height": 0, "kind": "string", "order": 0, "output_review": { "artifact_sha256": "string", "issues": [ { "category": "string", "evidence": "string", "suggestion": "string" } ], "language": "string", "model": "string", "source_sha256": "string", "status": "clear", "version": 0 }, "pick": 0, "pii": "string", "problems": [ "string" ], "sha256": "string", "source": "syndai", "source_commit": "string", "source_sha256": "string", "source_tree": "string", "url": "string", "width": 0 } ], "fields": [ { "back_translation": "string", "draft": "string", "field": "string", "limit": 0, "live": "string", "over": 0, "repo": "string", "unit": "string" } ], "locale": "string", "platform": "string", "shots": [ { "ai_generated": true, "artwork_model": "string", "artwork_sha256": "string", "caption": "string", "caption_back_translation": "string", "display_type": "string", "height": 0, "kind": "string", "order": 0, "output_review": { "artifact_sha256": "string", "issues": [ { "category": "string", "evidence": "string", "suggestion": "string" } ], "language": "string", "model": "string", "source_sha256": "string", "status": "clear", "version": 0 }, "pick": 0, "pii": "string", "problems": [ "string" ], "sha256": "string", "source": "syndai", "source_commit": "string", "source_sha256": "string", "source_tree": "string", "url": "string", "width": 0 } ], "state": "string", "ticked_at": "string" } ], "review": { "demo_kind": "string", "demo_username": "string", "needs_login": false, "notes": "string", "refusal": "string" }, "work": { "error": { "detail": "string", "kind": "string" }, "id": "string", "items": [ { "locale": "string", "platform": "string", "state": "string" } ], "kind": "string", "requested_at": "string", "state": "string", "updated_at": "string" }}