/api/v2/bpm/nodes/{node_id}
Метод возвращает основную информацию о ноде по ID
Path Parameters
- node_id integer required
ID ноды, любой из основных структурных единиц проекта в BPMS
Example: 1249450
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
200_field
{
"status": 1,
"message": "",
"response": {
"id": 1173033,
"name": "qa.field.test2",
"nodeType": "field_for_qa_test_2",
"properties": {}
},
"preparingsTime": 0.987
}
200
{
"status": 1,
"message": "",
"response": {
"id": 1144612,
"name": "for test actions",
"title": "for test actions",
"nodeType": "process",
"properties": {}
},
"preparingsTime": 0.099
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Node with 1164212 id not found",
"response": {},
"preparingsTime": 0.034
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.006
}
GET /api/v2/bpm/nodes/:node_id
Authorization
name: bearer_tokentype: httpdescription: Ключ пользователя — это своего рода «подпись» в BPM. Такой ключ выдаётся пользователю BPM после выполнения регистрационных/авторизационных действий. Ключ сообщает серверу, от имени какого именно пользователя осуществляются запросы и какие права у него есть. **Время жизни ключа составляет 3 минуты.**scheme: bearerbearerFormat: JWT
Request
Request
curl / cURL
curl -L -X GET 'https://api.dev.bpms.studio/api/v2/bpm/nodes/:node_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
python / requests
curl -L -X GET 'https://api.dev.bpms.studio/api/v2/bpm/nodes/:node_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
nodejs / axios
curl -L -X GET 'https://api.dev.bpms.studio/api/v2/bpm/nodes/:node_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
powershell / RestMethod
curl -L -X GET 'https://api.dev.bpms.studio/api/v2/bpm/nodes/:node_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'