Skip to main content

Get configuration models

GET 

https://api.elfsquad.io/configurator/:version/configurator/configurationmodels

Retrieves a list of all available configuration models

Request

Path Parameters

    version stringrequired

Query Parameters

    lang string

    Language ISO, used to translate feature(model) texts.

Responses

Success

Schema
    categories object[]nullable
  • Array [
  • iduuid
    namestringnullable
    attachedFeatureIdsuuid[]nullable
    subcategoriesundefined[]nullable
  • ]
  • features object[]nullable
  • Array [
  • featureModelIdstringnullable
    featureIduuid
    articleCodestringnullable
    namestringnullable
    descriptionstringnullable
    extendedDescriptionstringnullable
    moreInfostringnullable
    imageUrlstringnullable
    startingPriceExclVatstringnullable
    startingPriceInclVatstringnullable
    startupint64
  • ]
  • languages objectnullable
    property name*string
    languagestringnullable

Authorization: oauth2

name: oauth2type: oauth2scopes: openid,profile,email,offline_access,Elfskot.Apiflows: {
  "clientCredentials": {
    "tokenUrl": "https://login.elfsquad.io/oauth2/token",
    "scopes": {
      "Elfskot.Api": "Elfskot.Api"
    }
  },
  "authorizationCode": {
    "authorizationUrl": "https://login.elfsquad.io/oauth2/authorize",
    "tokenUrl": "http://localhost:4444/oauth2/token",
    "scopes": {
      "openid": "openid",
      "profile": "profile",
      "email": "email",
      "offline_access": "offline_access",
      "Elfskot.Api": "Elfskot.Api"
    }
  }
}
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.elfsquad.io/configurator/:version/configurator/configurationmodels");
request.Headers.Add("Accept", "text/plain");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.elfsquad.io
Auth
Parameters
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!