Replace the authorization with a new one
Authorizations
Parameters
Path Parameters
A UUID newtype
Unique identifier of the authorization
Query Parameters
Implementation-dependent portfolio mode
Request Body required
object
The supported constraints for an authorization.
An AuthData defines the trading constraints for an authorization:
- Rate constraints limit how fast a portfolio can be traded (in units per time)
- Trade constraints limit the total accumulated trade amount over time
The rate constraints must allow the possibility of zero trade (min_rate ≤ 0 ≤ max_rate).
The trade constraints do not have this restriction, but instead, at time of specification, they should allow for the currently traded amount of the auth. If they do not, the trade constraint is implicitly expanded to include 0 at each auction, which may not be desired.
object
The fastest rate at which the portfolio may buy (non-negative)
A maximum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
The fastest rate at which the portfolio may sell (non-positive)
A minimum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
A hashmap with deterministic ordering
object
object
The supported constraints for an authorization.
An AuthData defines the trading constraints for an authorization:
- Rate constraints limit how fast a portfolio can be traded (in units per time)
- Trade constraints limit the total accumulated trade amount over time
The rate constraints must allow the possibility of zero trade (min_rate ≤ 0 ≤ max_rate).
The trade constraints do not have this restriction, but instead, at time of specification, they should allow for the currently traded amount of the auth. If they do not, the trade constraint is implicitly expanded to include 0 at each auction, which may not be desired.
object
The fastest rate at which the portfolio may buy (non-negative)
A maximum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
The fastest rate at which the portfolio may sell (non-positive)
A minimum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
Responses
200
A full description of an authorization
An AuthRecord combines all the information needed to define an authorization:
- Who owns it (bidder_id)
- What it trades (portfolio)
- How it can be traded (data)
- The current accumulated trade (trade)
object
A unique id for the auth
The responsible bidder’s id
The constraint data for the authorization
object
The fastest rate at which the portfolio may buy (non-negative)
A maximum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
The fastest rate at which the portfolio may sell (non-positive)
A minimum amount of trade to preserve (always enforced against the authorization’s contemporaneous amount of trade)
The amount of cumulative trade associated to this authorization, as-of the request time
The “last-modified-or-created” time as recorded by the system