create_entries
POST/node/v1/data/publish
create_entries
Request
- application/json
Body
required
- Array [
- ]
entries object[]required
id uuidrequired
pair_id stringrequired
price integerrequired
publisher stringrequired
publisher_signature stringnullable
source stringrequired
timestamp int64required
signature string[]required
Responses
- 200
- 401
Entries published successfuly
- application/json
- Schema
- Example (from schema)
Schema
number_entries_created integerrequired
{
"number_entries_created": 0
}
Unauthorized Publisher
- application/json
- Schema
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD1
oneOf
string
Possible values: [InternalServerError
]
string
Possible values: [BadRequest
]
NotFound stringrequired
InfraError object required
oneOf
string
Possible values: [InternalServerError
]
string
Possible values: [RoutingError
]
string
Possible values: [NotFound
]
string
Possible values: [DisputerNotSet
]
string
Possible values: [SettlerNotSet
]
InvalidTimestamp stringrequired
NonZeroU32Conversion stringrequired
AxumError stringrequired
InvalidSignature stringrequired
string
Possible values: [InvalidSigner
]
Unauthorized stringrequired
InvalidTimestamp stringrequired
string
Possible values: [InvalidExpiry
]
MissingData stringrequired
PublisherError object required
oneOf
string
Possible values: [InternalServerError
]
InvalidKey stringrequired
InvalidAddress stringrequired
InactivePublisher stringrequired
string
Possible values: [NotFound
]
UnknownPairId stringrequired
VolatilityError object required
oneOf
InvalidTimestampsRange int64[]required
Possible values: >= 2
, <= 2
PublishData stringrequired
BuildPublish stringrequired
Loading...