openapi: 3.2.0 info: version: 1.0.5 title: Sim Specification Management File Shares API description: '#### Copyright © Aeris Communications, Inc.' contact: name: Aeris IoT SaaS url: https://support.aeris.net/hc/en-us x-audience: external-partner x-api-id: ac36768c-7f68-44af-8035-bd7fb4994750 servers: - url: https://iot-api.aeris.com/iot/api description: Main API server security: - Oauth2_auth: [] tags: - name: File Shares description: File Shares APIs are for user to get necessary file share info for creating or modifying a specification paths: /file-shares: get: tags: - File Shares summary: List all file share resources description: List all file share resources under an organization operationId: listFileShares parameters: - name: organizationId in: query description: Organization ID schema: type: string pattern: (^\d+\.\d+[\.\d+]+) example: '3.88' - name: cursor in: query schema: type: string default: '0' required: false description: 'Used for accessing additional items in the list. If limit is 100 then cursor=100 will return items 101-200. ' example: '100' - name: limit in: query schema: type: integer format: int32 minimum: 0 default: 100 required: false description: 'The maximum number of results to be returned. Allowed interval is 1-1000, default value: 100. Use curson parameter to set the start index. ' example: 10 responses: '200': description: OK allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/json: schema: $ref: '#/components/schemas/FileShareListResponse' '400': $ref: '#/components/responses/BadRequestWithInvalidParams' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '405': $ref: '#/components/responses/MethodNotAllowed' '429': $ref: '#/components/responses/429' '500': $ref: '#/components/responses/InternalServerError' default: description: Internal Server Error content: application/problem+json: schema: $ref: '#/components/schemas/Problem' security: - Oauth2_auth: - ssm.sim-spec.read - ssm.sim-spec.write - ssm.euicc-spec.read - ssm.euicc-spec.write /file-shares/{id}: get: tags: - File Shares summary: Get a file share resources description: Get a file share resources under an organization operationId: getFileShare parameters: - name: id in: path schema: type: string example: '75654' required: true description: The ID of file share responses: '200': description: OK allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/json: schema: $ref: '#/components/schemas/FileShare' '400': $ref: '#/components/responses/BadRequestWithInvalidParams' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '405': $ref: '#/components/responses/MethodNotAllowed' '429': $ref: '#/components/responses/429' '500': $ref: '#/components/responses/InternalServerError' default: description: Internal Server Error content: application/problem+json: schema: $ref: '#/components/schemas/Problem' security: - Oauth2_auth: - ssm.sim-spec.read - ssm.sim-spec.write - ssm.euicc-spec.read - ssm.euicc-spec.write components: headers: X-RateLimit-Remaining-Minute: description: The number of requests remaining in a minute. schema: type: integer format: int32 X-RateLimit-Limit-Second: description: The maximum number of requests allowed in a second. schema: type: integer format: int32 X-RateLimit-Limit-Minute: description: The maximum number of requests allowed in a minute. schema: type: integer format: int32 Content-Type: description: Handle Content-Type schema: type: string X-RateLimit-Remaining-Second: description: The number of requests remaining in a second. schema: type: integer format: int32 schemas: FileShareListResponse: properties: items: type: array items: $ref: '#/components/schemas/FileShare' next: type: - string - 'null' description: URI to next pagination. example: /file-shares?cursor=VSDFDB3434%DFB%EYY336 FileShare: type: object properties: id: type: string example: '755654' name: type: string minLength: 1 maxLength: 255 example: DEFAULT status: type: string x-extensible-enum: - DRAFT - SUBMITTED - ACTIVE - INVALID - OBSOLETE example: ACTIVE fileShareType: type: string x-extensible-enum: - STOCK_ORDER - WAREHOUSE_ORDER - MANUFACTURER_ORDER - PROFILE_STOCK_ORDER example: WAREHOUSE_ORDER fileShareURI: type: string minLength: 1 maxLength: 1024 example: /share/FILESHAREWAREHOUSEORDEREUICC description: type: string minLength: 1 maxLength: 500 example: Profile Spec for OpTest1 InvalidParamsProblem: description: A Problem object extended with an invalid-params array describing parameter validation failures. allOf: - $ref: '#/components/schemas/Problem' - type: object properties: parameters: type: object properties: invalid-params: type: array description: List of invalid parameters causing the request to fail. items: type: object properties: name: type: string description: Name of the offending parameter. example: q violation: type: string description: Description of the validation error. example: 'q must be in format: type==SIM;organizationId==3.88.7' required: - name - violation additionalProperties: true Problem: type: object properties: type: type: string format: uri description: 'An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML). ' default: about:blank example: https://your.api.documentation.url title: type: string description: 'A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized). ' example: Service Unavailable status: type: integer format: int32 description: 'The HTTP status code generated by the origin server for this occurrence of the problem. ' minimum: 100 maximum: 600 example: 400 detail: type: string description: 'A human readable explanation specific to this occurrence of the problem. ' example: Connection to database timed out instance: type: string description: 'An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. May be a URI or the literal string ''UNSET'' depending on context ' parameters: type: object additionalProperties: true description: 'Additional properties related to the problem. ' responses: InternalServerError: description: Internal Server Error allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/Problem' example: type: https://www.iana.org/assignments/http-status-codes/ title: Internal Server Error status: 500 detail: Internal Server Error occurred while processing the request. instance: https://example-host/iot/api/problems/523e4562-e89b-12d3-a456-426614175000 '429': description: Too Many Requests allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/Problem' example: type: about:blank title: Too Many Requests status: 429 detail: Too Many Requests. Please refer response RateLimit-* headers before send requests. instance: about:blank Forbidden: description: Forbidden allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/Problem' example: type: https://www.iana.org/assignments/http-status-codes/ title: Forbidden status: 403 detail: Permission missing instance: https://example-host/iot/api/problems/523e2562-e89b-12d3-a456-426614175000 Unauthorized: description: Unauthorized allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/Problem' example: type: https://www.iana.org/assignments/http-status-codes/ title: Unauthorized status: 401 detail: No or invalid authentication token provided instance: https://example-host/iot/api/problems/523e1562-e89b-12d3-a456-426614175000 BadRequestWithInvalidParams: description: Bad Request with invalid parameters allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/InvalidParamsProblem' example: type: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1 title: Bad Request status: 400 detail: Invalid request instance: UNSET parameters: invalid-params: - name: q violation: 'q must be in format: type==SIM;organizationId==3.88.7' MethodNotAllowed: description: Method Not Allowed allOf: - $ref: '#/components/responses/RateLimitedResponse' content: application/problem+json: schema: $ref: '#/components/schemas/Problem' example: type: https://www.iana.org/assignments/http-status-codes/ title: Method Not Allowed status: 405 detail: POST is not allowed in this endpoint instance: https://example-host/iot/api/problems/523e9562-e89b-12d3-a456-426614175000 RateLimitedResponse: headers: X-RateLimit-Limit-Second: $ref: '#/components/headers/X-RateLimit-Limit-Second' X-RateLimit-Limit-Minute: $ref: '#/components/headers/X-RateLimit-Limit-Minute' X-RateLimit-Remaining-Second: $ref: '#/components/headers/X-RateLimit-Remaining-Second' X-RateLimit-Remaining-Minute: $ref: '#/components/headers/X-RateLimit-Remaining-Minute' Content-Type: $ref: '#/components/headers/Content-Type' securitySchemes: Oauth2_auth: type: oauth2 flows: password: tokenUrl: https://iot-api.aeris.com/iot/api/auth/token scopes: ssm.sim-spec.read: Read access to sim spec resources in SSM ssm.euicc-spec.read: Read access to eUICC spec resources in SSM ssm.sim-spec.write: Write access to sim spec resources in SSM ssm.euicc-spec.write: Write access to eUICC spec resources in SSM