|
210 | 210 | ] |
211 | 211 | } |
212 | 212 | }, |
| 213 | + "/governance/prepare/proposal": { |
| 214 | + "post": { |
| 215 | + "summary": "Prepare a governance proposal", |
| 216 | + "operationId": "PrepareProposal", |
| 217 | + "responses": { |
| 218 | + "200": { |
| 219 | + "description": "A successful response.", |
| 220 | + "schema": { |
| 221 | + "$ref": "#/definitions/v1PrepareProposalResponse" |
| 222 | + } |
| 223 | + } |
| 224 | + }, |
| 225 | + "parameters": [ |
| 226 | + { |
| 227 | + "name": "body", |
| 228 | + "in": "body", |
| 229 | + "required": true, |
| 230 | + "schema": { |
| 231 | + "$ref": "#/definitions/v1PrepareProposalRequest" |
| 232 | + } |
| 233 | + } |
| 234 | + ], |
| 235 | + "tags": [ |
| 236 | + "TradingService" |
| 237 | + ] |
| 238 | + } |
| 239 | + }, |
| 240 | + "/governance/prepare/vote": { |
| 241 | + "post": { |
| 242 | + "summary": "Prepare a governance vote", |
| 243 | + "operationId": "PrepareVote", |
| 244 | + "responses": { |
| 245 | + "200": { |
| 246 | + "description": "A successful response.", |
| 247 | + "schema": { |
| 248 | + "$ref": "#/definitions/v1PrepareVoteResponse" |
| 249 | + } |
| 250 | + } |
| 251 | + }, |
| 252 | + "parameters": [ |
| 253 | + { |
| 254 | + "name": "body", |
| 255 | + "in": "body", |
| 256 | + "required": true, |
| 257 | + "schema": { |
| 258 | + "$ref": "#/definitions/v1PrepareVoteRequest" |
| 259 | + } |
| 260 | + } |
| 261 | + ], |
| 262 | + "tags": [ |
| 263 | + "TradingService" |
| 264 | + ] |
| 265 | + } |
| 266 | + }, |
213 | 267 | "/governance/proposal/reference/{reference}": { |
214 | 268 | "get": { |
215 | 269 | "summary": "Get governance data (proposals and votes) for a proposal located by reference", |
|
332 | 386 | ] |
333 | 387 | } |
334 | 388 | }, |
| 389 | + "/liquidity-provisions/prepare/submit": { |
| 390 | + "post": { |
| 391 | + "summary": "Prepare a liquidity provision request", |
| 392 | + "operationId": "PrepareLiquidityProvision", |
| 393 | + "responses": { |
| 394 | + "200": { |
| 395 | + "description": "A successful response.", |
| 396 | + "schema": { |
| 397 | + "$ref": "#/definitions/v1PrepareLiquidityProvisionResponse" |
| 398 | + } |
| 399 | + } |
| 400 | + }, |
| 401 | + "parameters": [ |
| 402 | + { |
| 403 | + "name": "body", |
| 404 | + "in": "body", |
| 405 | + "required": true, |
| 406 | + "schema": { |
| 407 | + "$ref": "#/definitions/v1PrepareLiquidityProvisionRequest" |
| 408 | + } |
| 409 | + } |
| 410 | + ], |
| 411 | + "tags": [ |
| 412 | + "TradingService" |
| 413 | + ] |
| 414 | + } |
| 415 | + }, |
335 | 416 | "/markets": { |
336 | 417 | "get": { |
337 | 418 | "summary": "Get a list of Markets", |
|
2257 | 2338 | }, |
2258 | 2339 | "title": "Response for preparing an order cancellation" |
2259 | 2340 | }, |
| 2341 | + "v1PrepareLiquidityProvisionRequest": { |
| 2342 | + "type": "object", |
| 2343 | + "properties": { |
| 2344 | + "submission": { |
| 2345 | + "$ref": "#/definitions/vegaLiquidityProvisionSubmission", |
| 2346 | + "title": "Submission, required field" |
| 2347 | + } |
| 2348 | + }, |
| 2349 | + "title": "Request to prepare liquiditity provision" |
| 2350 | + }, |
2260 | 2351 | "v1PrepareLiquidityProvisionResponse": { |
2261 | 2352 | "type": "object", |
2262 | 2353 | "properties": { |
|
2268 | 2359 | }, |
2269 | 2360 | "title": "Response to a liquidity provision request" |
2270 | 2361 | }, |
| 2362 | + "v1PrepareProposalRequest": { |
| 2363 | + "type": "object", |
| 2364 | + "properties": { |
| 2365 | + "party_id": { |
| 2366 | + "type": "string", |
| 2367 | + "title": "Party identifier, required field" |
| 2368 | + }, |
| 2369 | + "reference": { |
| 2370 | + "type": "string", |
| 2371 | + "title": "Unique reference" |
| 2372 | + }, |
| 2373 | + "proposal": { |
| 2374 | + "$ref": "#/definitions/vegaProposalTerms", |
| 2375 | + "title": "Proposal terms, required field" |
| 2376 | + } |
| 2377 | + }, |
| 2378 | + "title": "Request to prepare a governance proposal" |
| 2379 | + }, |
2271 | 2380 | "v1PrepareProposalResponse": { |
2272 | 2381 | "type": "object", |
2273 | 2382 | "properties": { |
|
2308 | 2417 | }, |
2309 | 2418 | "title": "Response for preparing an order submission" |
2310 | 2419 | }, |
| 2420 | + "v1PrepareVoteRequest": { |
| 2421 | + "type": "object", |
| 2422 | + "properties": { |
| 2423 | + "vote": { |
| 2424 | + "$ref": "#/definitions/vegaVote", |
| 2425 | + "title": "Vote, required field" |
| 2426 | + } |
| 2427 | + }, |
| 2428 | + "title": "Request to prepare a governance vote" |
| 2429 | + }, |
2311 | 2430 | "v1PrepareVoteResponse": { |
2312 | 2431 | "type": "object", |
2313 | 2432 | "properties": { |
|
0 commit comments