Created
June 9, 2016 22:16
-
-
Save muojp/73bc86593de2d6aa4b1e9ccf1283c78e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
paths: { | |
+ /orders/{order_id}/subscribers: { | |
+ get: { | |
+ tags: [ | |
+ "Order" | |
+ ] | |
+ summary: "List ordered subscribers." | |
+ description: "発注したSIMのSubscriber一覧を返します。" | |
+ operationId: "listOrderedSubscribers" | |
+ consumes: [ | |
+ "application/json" | |
+ ] | |
+ produces: [ | |
+ "application/json;charset=UTF-8" | |
+ ] | |
+ parameters: [ | |
+ { | |
+ name: "order_id" | |
+ in: "path" | |
+ description: "order_id" | |
+ required: true | |
+ type: "string" | |
+ } | |
+ { | |
+ name: "last_evaluated_key" | |
+ in: "query" | |
+ description: "直前のリクエストで取得したうち、最後のSubscriberの製造番号。レスポンスヘッダのX-Soracom-Next-Keyに含まれる値" | |
+ required: false | |
+ type: "string" | |
+ } | |
+ { | |
+ name: "limit" | |
+ in: "query" | |
+ description: "レスポンスに含まれる最大Subscriber数" | |
+ required: false | |
+ type: "integer" | |
+ format: "int32" | |
+ } | |
+ ] | |
+ responses: { | |
+ 200: { | |
+ description: "OK" | |
+ schema: { | |
+ $ref: "#/definitions/ListOrderedSubscriberResponse" | |
+ } | |
+ } | |
+ } | |
+ } | |
+ } | |
} | |
definitions: { | |
+ ListOrderedSubscriberResponse: { | |
+ properties: { | |
+ orderedSubscriberList: { | |
+ type: "array" | |
+ description: "発注したSIMのリスト" | |
+ items: { | |
+ $ref: "#/definitions/OrderedSubscriber" | |
+ } | |
+ } | |
+ } | |
+ } | |
+ OrderedSubscriber: { | |
+ properties: { | |
+ imsi: { | |
+ type: "string" | |
+ description: "IMSI" | |
+ } | |
+ msisdn: { | |
+ type: "string" | |
+ description: "MSISDN" | |
+ } | |
+ serialNumber: { | |
+ type: "string" | |
+ description: "serialNumber" | |
+ } | |
+ } | |
+ } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment