Projects: Components

🔒 Получение списка компонентов по идентификаторам.

Получение списка компонентов по идентификаторам.

Access: authorized (10 ) · Scope: read

Allows: product:read (все обязательны; проверка в команде по ресурсу из запроса)

TypeScript (copy-paste)

POST /projects/component/list

<details open><summary><b>Body</b></summary>
export interface ProjectsComponentListBody {
  IDs: Array<string>
}
</details> <details open><summary><b>Response</b></summary>
export type ProjectsComponentListResponse = IServerResponse<Resp_projects_component_list>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
</details>

Полный файл типов: /docs/types · raw: /docs/api-types.ts

post/projects/component/list

Request

  • Base URL: http://localhost
  • URL: http://localhost/projects/component/list
  • Auth: one of:
    • API key in header sid and API key in header rts and API key in header sig
    • HTTP bearer

Headers

devIDstring uuid required

UUID устройства клиента

tzstring required
Example:Europe/Moscow

Таймзона клиента (IANA или offset)

appstring required
Example:kosmodrom-web

Имя клиентского приложения

appVerstring required
Example:1.0.0

Версия клиента

rKeystring

Уникальный ключ запроса для логов/саппорта

Request body

IDsstring[] required

Response

OK — IServerResponse<Resp_projects_component_list>

codeinteger required
srvTSinteger required

Server timestamp (ms)

rkeystring required

Request key

Example response

{
  "code": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.