Skip to main content
POST
Save a story import mapping

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Body

application/json

Validated request fields for this operation.

name
string
required

Name. Validation: required, string, max:255.

Maximum string length: 255
Example:

"Education stories"

mapping_json
required

Mapping json. Validation: required, array.

source_type
string | null

Source type. Validation: nullable, string, max:64.

Maximum string length: 64
Example:

"manual"

is_default
boolean | null

Is default. Validation: nullable, boolean.

Example:

true

Response

Operation result.

data
object