openapi: 3.2.0 info: title: Vaultre Suburbs API contact: name: VaultRE url: https://www.vaultre.com.au email: api@vaultre.com.au version: '1.0' description: 'Operations tagged suburbs across 2 of this provider''s published API definitions: vaultre-api-v1-2-openapi.yml, vaultre-api-v1-3-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://ap-southeast-2.api.vaultre.com.au/api/v1.2 - url: https://ap-southeast-2.api.vaultre.com.au/api/v1.3 tags: - name: suburbs description: Operations related to suburbs paths: /suburbs: get: tags: - suburbs summary: Retrieve a list of suburbs for the user's country description: Retrieve a list of suburbs for the user's country operationId: getSuburbs responses: 200: description: Suburbs retrieved content: {} security: - Api-Key: [] Bearer: [] servers: - url: https://ap-southeast-2.api.vaultre.com.au/api/v1.2 /account/customRegions: get: tags: - suburbs summary: Retrieve a list of custom regions for this account description: Retrieve a list of custom regions for this account operationId: getCustomRegions parameters: - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/pagesize' - name: sort in: query description: Sort items by field schema: type: string enum: - name - $ref: '#/components/parameters/sortOrder' responses: 200: description: Custom regions retrieved content: application/json: schema: type: object properties: items: type: array items: $ref: '#/components/schemas/CustomRegion' totalItems: type: integer format: int64 totalPages: type: integer format: int64 urls: $ref: '#/components/schemas/Urls' security: - Api-Key: [] Bearer: [] servers: - url: https://ap-southeast-2.api.vaultre.com.au/api/v1.3 components: schemas: State: type: object properties: id: type: integer format: int64 name: type: string abbreviation: type: string CustomRegion: type: object properties: id: type: integer format: int64 name: type: string Suburb: type: object properties: id: type: integer format: int64 name: type: string postcode: type: string state: $ref: '#/components/schemas/State' nzDistrict: $ref: '#/components/schemas/District' isPoBox: type: boolean District: type: object properties: id: type: integer format: int64 name: type: string region: $ref: '#/components/schemas/Region' Region: type: object properties: id: type: integer format: int64 name: type: string Urls: type: object properties: previous: type: string next: type: string self: type: string parameters: pagesize: name: pagesize in: query description: Number of records to be returned in each page. schema: type: integer format: int64 default: 50 page: name: page in: query description: Page number of results schema: type: integer format: int64 sortOrder: name: sortOrder in: query description: Order by which to sort the results. Used in conjunction with sort parameter. schema: type: string enum: - asc - desc securitySchemes: Api-Key: type: apiKey name: X-Api-Key in: header Bearer: type: apiKey description: Use format 'Bearer [token]' name: Authorization in: header x-refined-from: - vaultre-api-v1-2-openapi.yml - vaultre-api-v1-3-openapi.yml