Zum Hauptinhalt springen
PATCH
Update Json Template

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

json-template-id
string<uuid>
erforderlich

JSON template ID to update.

Body

application/json
name
string | null

Unique name of the JSON template

Required string length: 1 - 50
description
string | null

Description of the JSON template

Required string length: 1 - 100
previewScreenshot
string<uri> | null

Preview screenshot of the JSON template

Required string length: 1 - 2083
previewUrl
string<uri> | null

Preview URL of the JSON template

Required string length: 1 - 2083
jsonSchema
Jsonschema · object | null

The JSON schema of the JSON template

Antwort

Successful Response

id
string<uuid>
erforderlich

The ID of the JSON template

marketplaceId
string<uuid>
erforderlich

The ID of the marketplace

name
string
erforderlich

The name of the JSON template

description
string
erforderlich

The description of the JSON template

jsonSchema
Jsonschema · object
erforderlich

The JSON schema of the JSON template

createdAt
string<date-time>
erforderlich

The creation time of the JSON template

updatedAt
string<date-time>
erforderlich

The update time of the JSON template

adFormat
enum<string>
erforderlich

The ad format of the JSON template

Verfügbare Optionen:
banner,
sponsored_brand
isArchived
boolean
Standard:false

Whether the JSON template is archived

previewScreenshot
string<uri> | null

Preview screenshot of the JSON template

Required string length: 1 - 2083
previewUrl
string<uri> | null

Preview URL of the JSON template

Required string length: 1 - 2083