Skip to content

The topics the editor picks from​

GET
/resource-providers/{providerId}/topics

Every active topic and its needs with the ids the editor's fields store (topic_ids, need_ids), in the reader's language (?lang=, the cookie, then Accept-Language), and whether a topic is sensitive (never in a URL or a notification) or licensed (its help needs a license, NP-13). #2422. Checks: requireProviderAccess('view_resources').

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

OK

application/json
JSON
{
"language": "string",
"topics": [
{
"id": "string",
"slug": "string",
"parent_id": "string",
"name": "string",
"sensitive": true,
"licensed": true,
"needs": [
{
"id": "string",
"slug": "string",
"name": "string"
}
]
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress