Docs

API reference · Static hosting

A static site's optimization settings, which its next deployment is prepared with

GET/v1/orgs/{org}/zones/{zone}/origins/{origin}/optimization
Permission
hosting.deployments.read
Operation
hosting.optimization.get

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
originpathstringyesfor example "origin_01h455vb4pex5vsknk084sn02q"
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
fontsbooleanyes
metadatabooleanyes
speculationbooleanyes