Variable SIGN_SCHEMAConst
SIGN_SCHEMA: {
tags: string[];
summary: string;
description: string;
body: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
items: {
type: string;
minItems: number;
maxItems: number;
items: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
id: { type: string };
message: { type: string; minLength: number };
keyId: {
type: "string";
pattern: "^k_[A-Za-z0-9_-]{22}$";
description: "Identifier of a server-held key, returned by a key-generation route.";
};
};
};
};
};
};
response: {
"200": {
type: "object";
description: string;
required: string[];
properties: { data: unknown };
};
};
} = ...
Type Declaration
-
-
summary: string
-
description: string
-
body: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
items: {
type: string;
minItems: number;
maxItems: number;
items: {
type: string;
required: string[];
additionalProperties: boolean;
properties: {
id: { type: string };
message: { type: string; minLength: number };
keyId: {
type: "string";
pattern: "^k_[A-Za-z0-9_-]{22}$";
description: "Identifier of a server-held key, returned by a key-generation route.";
};
};
};
};
};
}
-
response: {
"200": {
type: "object";
description: string;
required: string[];
properties: { data: unknown };
};
}
Request schema for
POST /v2/stream/sign.