[{"data":1,"prerenderedAt":180},["ShallowReactive",2],{"page:\u002Fproperties\u002Fpublication-status":3,"operation:getPropertyPublication":72},{"id":4,"title":5,"body":6,"description":62,"extension":63,"meta":64,"navigation":65,"operation":66,"path":67,"rawbody":68,"seo":69,"stem":70,"__hash__":71},"docs\u002Fproperties\u002Fpublication-status.md","Retrieve publication status",{"type":7,"value":8,"toc":58},"minimark",[9,48],[10,11,12,16,17,20,21,20,24,20,27,20,30,33,34,37,38,41,42,44,45,47],"p",{},[13,14,15],"code",{},"status"," is ",[13,18,19],{},"private",", ",[13,22,23],{},"pending",[13,25,26],{},"processing",[13,28,29],{},"published",[13,31,32],{},"ready"," or ",[13,35,36],{},"failed",". ",[13,39,40],{},"requested"," is desired catalogue visibility; ",[13,43,29],{}," is effective visibility. ",[13,46,32],{}," means public copies are available for an export without publishing the property. New photos are watermarked; migration-grandfathered photos retain their unmarked copies.",[10,49,50,51,53,54,57],{},"While pending or processing, poll every two seconds. When ",[13,52,36],{},", inspect the safe ",[13,55,56],{},"error"," code, fix the cause and repeat the publication request. Automatic retries are bounded; do not busy-loop failed requests.",{"title":59,"searchDepth":60,"depth":60,"links":61},"",3,[],"Check requested visibility, processing state and marked images.","md",{},true,"getPropertyPublication","\u002Fproperties\u002Fpublication-status","---\ntitle: Retrieve publication status\ndescription: Check requested visibility, processing state and marked images.\noperation: getPropertyPublication\n---\n\n`status` is `private`, `pending`, `processing`, `published`, `ready` or `failed`. `requested` is desired catalogue visibility; `published` is effective visibility. `ready` means public copies are available for an export without publishing the property. New photos are watermarked; migration-grandfathered photos retain their unmarked copies.\n\nWhile pending or processing, poll every two seconds. When `failed`, inspect the safe `error` code, fix the cause and repeat the publication request. Automatic retries are bounded; do not busy-loop failed requests.\n",{"title":5,"description":62},"properties\u002Fpublication-status","dyQ5barAc0oCbFRi0-53TiYd_hP4YsXkrwJ3ch8H6zc",{"id":66,"method":73,"path":74,"fullPath":75,"summary":76,"tag":77,"scopes":78,"url":80,"description":81,"pathParams":82,"queryParams":89,"headerParams":90,"responses":91,"samples":163,"docsPath":67},"GET","\u002Fproperties\u002F{property_id}\u002Fpublication","\u002Fv1\u002Fproperties\u002F{property_id}\u002Fpublication","Retrieve publication","Publication",[79],"properties:publish","https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F{property_id}\u002Fpublication","Returns processing status and opaque public image URLs, including approved legacy copies. Requires the `properties:publish` scope.",[83],{"name":84,"type":85,"required":65,"nullable":86,"constraints":87},"property_id","integer",false,[88],"≥ 1",[],[],[92,143,147,150,153,156,160],{"status":93,"description":94,"schemaName":95,"fields":96,"example":141,"exampleHtml":142},"200","Successful response.","PublicationResponse",[97,102],{"name":15,"type":98,"required":86,"nullable":86,"defaultValue":99,"enumValues":100,"constraints":101},"string","ok",[99],[],{"name":103,"type":104,"required":65,"nullable":86,"constraints":105,"children":106},"data","PublicationState",[],[107,110,113,115,138],{"name":15,"type":98,"required":65,"nullable":86,"enumValues":108,"constraints":109},[19,23,26,29,32,36],[],{"name":29,"type":111,"required":65,"nullable":86,"constraints":112},"boolean",[],{"name":40,"type":111,"required":65,"nullable":86,"constraints":114},[],{"name":116,"type":117,"required":86,"nullable":86,"constraints":118,"children":119},"images","array of objects",[],[120,123,127,131,135],{"name":121,"type":98,"required":65,"nullable":86,"constraints":122},"id",[],{"name":124,"type":98,"required":65,"nullable":86,"description":125,"constraints":126},"url","Permanent opaque public-copy URL. New photos are watermarked; migrated legacy copies may remain unmarked. Never an original or upload URL.",[],{"name":128,"type":85,"required":86,"nullable":86,"defaultValue":129,"constraints":130},"order","1",[],{"name":132,"type":111,"required":86,"nullable":86,"defaultValue":133,"constraints":134},"is_primary","false",[],{"name":136,"type":98,"required":86,"nullable":86,"defaultValue":59,"constraints":137},"title",[],{"name":56,"type":98,"required":86,"nullable":65,"description":139,"constraints":140},"Safe diagnostic code. Retry the same publication request after correcting the cause.",[],"{\n  \"status\": \"ok\",\n  \"data\": {\n    \"status\": \"private\",\n    \"published\": false,\n    \"requested\": false,\n    \"images\": []\n  }\n}","\u003Cpre class=\"shiki github-light\" style=\"background-color:#fff;color:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">  \"status\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: \u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">\"ok\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">  \"data\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">    \"status\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: \u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">\"private\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">    \"published\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: \u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\">false\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">    \"requested\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: \u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\">false\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">    \"images\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: []\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">  }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"status":144,"description":145,"schemaName":146},"401","The API key is missing, malformed, unknown, revoked or expired.","ExternalApiError",{"status":148,"description":149,"schemaName":146},"403","The API key lacks the required scope.",{"status":151,"description":152,"schemaName":146},"404","The resource does not exist in this business.",{"status":154,"description":155,"schemaName":146},"409","Duplicate contact or idempotency key reused with a different payload.",{"status":157,"description":158,"schemaName":159},"422","A path parameter, query parameter or body field is invalid.","ExternalValidationError",{"status":161,"description":162,"schemaName":146},"500","Unexpected server error while processing the request.",[164,170,175],{"id":165,"label":166,"lang":167,"code":168,"html":169},"curl","cURL","bash","curl \"https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication\" \\\n  -H \"X-Api-Key: $VESTTA_API_KEY\"","\u003Cpre class=\"shiki github-light\" style=\"background-color:#fff;color:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#6F42C1\">curl\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\"> \"https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication\"\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#005CC5\">  -H\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\"> \"X-Api-Key: \u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">$VESTTA_API_KEY\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">\"\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"id":171,"label":172,"lang":171,"code":173,"html":174},"javascript","JavaScript","const response = await fetch('https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication', {\n  headers: { 'X-Api-Key': process.env.VESTTA_API_KEY },\n})\n\nconst data = await response.json()","\u003Cpre class=\"shiki github-light\" style=\"background-color:#fff;color:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#D73A49\">const\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\"> response\u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\"> =\u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\"> await\u003C\u002Fspan>\u003Cspan style=\"color:#6F42C1\"> fetch\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">(\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">'https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication'\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">  headers: { \u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">'X-Api-Key'\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: process.env.\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\">VESTTA_API_KEY\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">})\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#D73A49\">const\u003C\u002Fspan>\u003Cspan style=\"color:#005CC5\"> data\u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\"> =\u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\"> await\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> response.\u003C\u002Fspan>\u003Cspan style=\"color:#6F42C1\">json\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">()\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"id":176,"label":177,"lang":176,"code":178,"html":179},"python","Python","import os\n\nimport requests\n\nresponse = requests.get(\n    \"https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication\",\n    headers={\"X-Api-Key\": os.environ[\"VESTTA_API_KEY\"]},\n)\nresponse.raise_for_status()\ndata = response.json()","\u003Cpre class=\"shiki github-light\" style=\"background-color:#fff;color:#24292e\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#D73A49\">import\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> os\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#D73A49\">import\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> requests\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">response \u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\">=\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> requests.get(\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#032F62\">    \"https:\u002F\u002Fapi.vestta.io\u002Fv1\u002Fproperties\u002F1\u002Fpublication\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E36209\">    headers\u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\">=\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">{\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">\"X-Api-Key\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">: os.environ[\u003C\u002Fspan>\u003Cspan style=\"color:#032F62\">\"VESTTA_API_KEY\"\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\">]},\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">response.raise_for_status()\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#24292E\">data \u003C\u002Fspan>\u003Cspan style=\"color:#D73A49\">=\u003C\u002Fspan>\u003Cspan style=\"color:#24292E\"> response.json()\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",1791930009737]