Get signing key handle at index

Obtain a signing key handle for a data item or a deleted data item.

For a data item

Only authorized requests can invoke this endpoint.

Request

GET /appendable-data/sign-key/:handleId/:index

URL

Parameter Description
handleId u64 representing an appendable data handle.
index A number representing the nth data item.
Example
http://localhost:8100/appendable-data/sign-key/23/0
Field Description
Authorization The authorization token obtained from SAFE Launcher.
Example
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpZCI6Im5RT1poRFJ2VUFLRlVZMzNiRTlnQ25VbVVJSkV0Q2lmYk4zYjE1dXZ2TlU9In0.OTKcHQ9VUKYzBXH_MqeWR4UcHFJV-xlllR68UM9l0b4

Response

On success, the HTTP status code in the response header is 200 (OK).

Body

Property Description
handleId u64 representing the signing key handle.
Example
{
    "handleId": 28
}

For a deleted data item

Only authorized requests can invoke this endpoint.

Request

GET /appendable-data/sign-key/deleted-data/:handleId/:index

URL

Parameter Description
handleId u64 representing an appendable data handle.
index A number representing the nth deleted data item.
Example
http://localhost:8100/appendable-data/sign-key/deleted-data/23/0
Field Description
Authorization The authorization token obtained from SAFE Launcher.
Example
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpZCI6Im5RT1poRFJ2VUFLRlVZMzNiRTlnQ25VbVVJSkV0Q2lmYk4zYjE1dXZ2TlU9In0.OTKcHQ9VUKYzBXH_MqeWR4UcHFJV-xlllR68UM9l0b4

Response

On success, the HTTP status code in the response header is 200 (OK).

Body

Property Description
handleId u64 representing the signing key handle.
Example
{
    "handleId": 29
}

results matching ""

    No results matching ""