Xpansiv File Type V1 API

View, update or upload a file

Operations 4

POST /api/file Add a new registry file entry #
GET /api/fileType Retrieve registry file types #
GET /api/file/{fileId} Retrieve a registry file #
GET /api/file/report/file File Report #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xpansiv-file-type-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xpansiv-file-type-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: File Registry File Type V1 API
  description: Use API credentials to view or submit registry files.
  version: 1.0.0
servers:
- url: https://optimalapi-ext.apx.com/fileRegistry/v1
- url: https://optimalapi-uat-ext.apx.com/fileRegistry/v1
security:
- JWT: []
tags:
- name: file-type-v1
  description: View, update or upload a file
paths:
  /api/file:
    post:
      tags:
      - file-type-v1
      summary: Add a new registry file entry
      description: Upload a new file entry to the Registry.
      operationId: addFileEntry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileEntry'
        required: true
      responses:
        '201':
          description: File registry entry created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileEntry'
  /api/fileType:
    get:
      tags:
      - file-type-v1
      summary: Retrieve registry file types
      description: View a list of the different file types accepted by the Registry. Files types are Account level, Resource level, or could be associate with either an Account or Resource.
      operationId: getFileTypes
      responses:
        '200':
          description: File Types retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FileType'
  /api/file/{fileId}:
    get:
      tags:
      - file-type-v1
      summary: Retrieve a registry file
      description: View a specific file, using the file identifier.
      operationId: getFileEntry
      parameters:
      - name: fileId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: File retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileEntry'
        '404':
          description: Not Found
  /api/file/report/file:
    get:
      tags:
      - file-type-v1
      summary: File Report
      description: Retrieve your Registry account's file history.
      operationId: getFileReport
      parameters:
      - name: srcResourceId
        in: query
        description: Resource identifier
        required: true
        schema:
          type: string
      - name: viewOnlyAccountFiles
        in: query
        description: View only account files
        required: false
        schema:
          type: boolean
      - name: $filter
        in: query
        description: OData expression, filter results by specific Property value; results not filterable by all properties.
        required: false
        schema:
          type: string
      - name: $count
        in: query
        description: Included if "$count" = "true", the total number of results will be included in the response
        required: false
        schema:
          type: boolean
      - name: $orderby
        in: query
        description: OData expression, please see https://learn.microsoft.com/en-us/odata/client/query-options#orderby
        required: false
        schema:
          type: string
      - name: $skip
        in: query
        description: Number of records to skip, please see https://learn.microsoft.com/en-us/odata/client/query-options#skip
        required: false
        schema:
          type: integer
          format: int32
      - name: $top
        in: query
        description: Maximum number of records to return, please see https://learn.microsoft.com/en-us/odata/client/query-options#top
        required: false
        schema:
          type: integer
          format: int32
      - name: $apply
        in: query
        description: OData expression, GROUPBY operations available for fields where grouping is supported
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ODataEnvelopeOfFileReport'
        '400':
          description: Parameter validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
components:
  schemas:
    FileReport:
      type: object
      properties:
        fileId:
          type: string
        fileSetId:
          type: string
        srcAcctId:
          type: string
        srcAcctIdentifier:
          type: string
        accountName:
          type: string
        srcResourceId:
          type: string
        srcResourceIdentifier:
          type: string
        resourceName:
          type: string
        fileName:
          type: string
        generatedFileName:
          type: string
        fileTypeCode:
          type: string
        fileTypeName:
          type: string
        createdAt:
          type: string
          format: date-time
        uploadedBy:
          type: string
        userId:
          type: string
        version:
          type: integer
          format: int32
        size:
          type: integer
          format: int64
        displaySize:
          type: string
        publicFile:
          type: boolean
        allowPublicFile:
          type: boolean
      description: File Report
    ODataEnvelopeOfFileReport:
      required:
      - value
      type: object
      properties:
        '@count':
          type: integer
          description: The total number of results (only present if requested)
          format: int32
        value:
          type: array
          description: Rows of information
          items:
            $ref: '#/components/schemas/FileReport'
      description: Container for OData-like rows of information
    ValidationError:
      type: object
      properties:
        code:
          type: integer
          format: int32
        parameter:
          type: string
        message:
          type: string
    FileEntry:
      required:
      - fileName
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the file
          readOnly: true
        fileSetId:
          type: string
          description: The unique identifier of the file set
        version:
          type: integer
          description: File version number
          format: int32
        createdAt:
          type: string
          description: Creation date of the file, if null at creation, will default to current time
          format: date-time
        fileName:
          type: string
          description: Filename associated with file
        status:
          type: string
          description: File Status Code
          readOnly: true
        sourceSystemCode:
          type: string
          description: Source System Code, only specified on input for trusted system access
        fileTypeCode:
          type: string
          description: File Type Code
        sasUri:
          type: string
          description: URI with embedded Shared Access Signature for retrieving or uploading file
          readOnly: true
        sasExpires:
          type: string
          description: Time at which the Shared Access Signature in the sasUri will expire
          format: date-time
          readOnly: true
        parameters:
          type: object
          additionalProperties:
            type: object
            description: Additional parameters to accompany the file registration
          description: Additional parameters to accompany the file registration
        srcAccountId:
          type: string
          description: Optional account Id when uploading a file for a different account
        srcResourceId:
          type: string
          description: Resource Id when uploading a resource-specific file
        publicFile:
          type: boolean
          description: File access flag
      description: A file entry
    FileType:
      type: object
      properties:
        id:
          type: integer
          format: int32
        code:
          type: string
        name:
          type: string
        shortName:
          type: string
        fileTypeSpecificityCode:
          type: string
          enum:
          - ACCOUNT
          - RESOURCE
          - ACCOUNT_OR_RESOURCE
        singleInstance:
          type: boolean
        allowPublicFile:
          type: boolean
      description: A file type
  securitySchemes:
    JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT