Подписание — по ссылке
Публичное подписание по короткой ссылке (OTP).
Контекст подписания для публичного подписанта
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело ответа
application/json
application/problem+json
curl -X GET "https://loading/api/v1/signatures/sign-public/string"{
"documentTitle": "string",
"participants": [
{
"property1": null,
"property2": null
}
],
"placedActions": [
{
"property1": null,
"property2": null
}
],
"signer": {
"property1": null,
"property2": null
},
"status": "string",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Изображение подписи или печати, доступное публичному подписанту
Параметры пути
Короткий код подписания
1 <= length <= 64Тип ассета
"signature" | "stamp" | "logo"Тело ответа
image/png
application/problem+json
curl -X GET "https://loading/api/v1/signatures/sign-public/string/assets/signature""string"{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Комментарии (публично, по shortId)
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело ответа
application/json
application/problem+json
curl -X GET "https://loading/api/v1/signatures/sign-public/string/comments"[
{
"property1": null,
"property2": null
}
]{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Добавить комментарий (публично, как подписант)
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
application/problem+json
curl -X POST "https://loading/api/v1/signatures/sign-public/string/comments" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{
"success": true,
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}PDF документа для предпросмотра подписанту
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело ответа
application/pdf
application/problem+json
curl -X GET "https://loading/api/v1/signatures/sign-public/string/document.pdf""string"{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Отклонить подписание
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
application/problem+json
curl -X POST "https://loading/api/v1/signatures/sign-public/string/reject" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Отправить OTP подписанту
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело ответа
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://loading/api/v1/signatures/sign-public/string/send-otp"{
"success": true,
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Подписать документ
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://loading/api/v1/signatures/sign-public/string/sign" \ -H "Content-Type: application/json" \ -d '{ "method": "ukep" }'{
"success": true,
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Snapshot для подписи (УКЭП)
Параметры пути
Короткий код подписания из ссылки-приглашения
1 <= length <= 64Тело ответа
application/json
application/problem+json
curl -X GET "https://loading/api/v1/signatures/sign-public/string/snapshot-to-sign"{
"success": true,
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}