/integration/:id/stack-schema
Returns an integration’s details and the JSON Schema of its ad stack settings form, plus which fields need a value from some mapping level. Use it to render the integration’s form in an ad stack, or to know which keys and types POST /v1/integration/{id}/validate and ad stack saves accept.
- Permission:
ad_stack.view. The integration (or fallback creative) must be available to the caller (or, withuid, to that publisher’s organisation), otherwise 404. The Global Settings pseudo-integration is accepted. schemais a JSON Schema object (type,properties,required, oftendefinitions), returned with its types intact. Computed fields arereadOnlyand not inrequired; for a caller who isn’t the integration’s owner, owner-only fields arereadOnlyand not inrequired. Shared lists are injected intodefinitions: IAB categories and sizes, and organisations, publishers and ad units limited to the caller’s organisation tree.required_fieldslists the field keys that need a value at some level (ad stack, organisation, publisher, ad unit or integration default) and that the caller can write; the form marks them without enforcing them, as values are often inherited. Keys of object sub-fields are dotted (video.mimes). Owner-only fields are left out for non-owners and computed fields always.logo/logo_darkare image URLs, or the platform name’s first letter when the module has no logo; for an image fallback creative, its image.- Payload keys sit at the top level beside
success(noresults).idechoes the path id (an all-digit id comes back as a number).
Authorizations
Path Parameters
Query Parameters
Optional publisher uid. Looks the integration up among those available to this publisher's organisation, and tailors fields that depend on whether the publisher is owned and operated by the integration's organisation. The publisher must exist and not be archived; a restricted (non-core) caller may only pass a publisher of their own organisation, otherwise 404 Not Found.
x >= 1Response
Integration details and stack schema.