Skip to main content

Get namespaces

GET 

https://app.tolgee.io/v2/projects/:projectId/import/all-namespaces

Returns all existing and imported namespaces

Request

Path Parameters

    projectId int64required

Responses

OK

Schema
    _embedded object
    namespaces object[]
  • Array [
  • idint64

    The id of namespace. When null, namespace doesn't exist and will be created by import.

    Example: 10000048
    namestringrequired
    Example: homepage
  • ]

Authorization: X-API-Key

name: X-API-Keytype: apiKeyin: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://app.tolgee.io/v2/projects/:projectId/import/all-namespaces");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("X-API-Key", "<X-API-Key>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://app.tolgee.io
Auth
Parameters
— pathrequired
ResponseClear

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