Create a context field
This is a beta endpoint and it may change or be removed in the future.
Endpoint that allows creation of custom context fields
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Path parameters
projectId
Request
createContextFieldSchema
name
The name of the context field.
description
A description of the context field
stickiness
true if this field should be available for use with custom stickiness, otherwise false
sortOrder
How this context field should be sorted if no other sort order is selected
legalValues
A list of allowed values for this context field
project
The project this context field belongs to (if it is project-specific)
Response headers
location
The location of the newly created resource.
Response
The resource was successfully created.
name
The name of the context field
description
The description of the context field.
stickiness
Does this context field support being used for stickiness calculations
sortOrder
Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically.
createdAt
When this context field was created
usedInFeatures
Number of projects where this context field is used in
usedInProjects
Number of projects where this context field is used in
legalValues
Allowed values for this context field schema. Can be used to narrow down accepted input
project
The project this context field belongs to (if it is project-specific)