Skip to main content
POST
/
api
/
v1
/
configurator
/
profiles
cURL
curl --request POST \
  --url https://api.staging.qyl.dev/api/v1/configurator/profiles \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "target_framework": "<string>",
  "description": "<string>",
  "features_json": "<string>"
}
'
{
  "id": "<string>",
  "project_id": "<string>",
  "name": "<string>",
  "target_framework": "<string>",
  "target_language": "<string>",
  "semconv_version": "<string>",
  "features_json": "<string>",
  "is_default": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "template_overrides_json": "<string>"
}

Body

application/json

Generation profile creation request

name
string
required

Profile name

target_framework
string
required

Target framework

description
string

Profile description

features_json
string

Feature flags

Response

The request has succeeded.

Named instrumentation profile for code generation

id
string
required

Profile ID

project_id
string
required

Owning project

name
string
required

Profile name

target_framework
string
required

Target framework (e.g. net10.0)

target_language
string
required

Target language

semconv_version
string
required

Semantic conventions version

features_json
string
required

Enabled features/modules

is_default
boolean
required

Whether this is the default profile

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

description
string

Profile description

template_overrides_json
string

Template customizations