Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add languages to SDK #303

Closed
Sevitas opened this issue Jan 13, 2021 · 0 comments
Closed

Add languages to SDK #303

Sevitas opened this issue Jan 13, 2021 · 0 comments

Comments

@Sevitas
Copy link

Sevitas commented Jan 13, 2021

Motivation

Feature is required thus, no method providing project languages is present. User can now get all his project languages.

Proposed solution

Introduce a method providing all project languages

Additional context

Should be released 01.25.2021
endpoint-{deliveryApi}/{projectId}/languages

`{
  "languages": [
    {
      "system": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Default project language",
        "codename": "default"
      }
    },
    {
      "system": {
        "id": "8fab3c4c-2ba4-47a9-8e53-df8e6154054f",
        "name": "First Lanugage",
        "codename": "first_language"
      }
    },
    {
      "system": {
        "id": "24d5aaa6-a0db-4e20-8c11-6eb272bbe168",
        "name": "Second Language",
        "codename": "second_language"
      }
    }
  ],
  "pagination": {
    "skip": 0,
    "limit": 0,
    "count": 3,
    "next_page": ""
  }
}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant