> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /uploadJSON

> Handles application/json uploads for generic structured data.



## OpenAPI

````yaml /specs/infrastructure.json post /uploadJSON
openapi: 3.1.0
info:
  title: resq-api
  description: ''
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  version: 0.1.0
servers: []
security: []
tags:
  - name: resq-backend
    description: ResQ Infrastructure API
  - name: auth
    description: Authentication endpoints
  - name: incidents
    description: Incident management endpoints
  - name: evidence
    description: Evidence management endpoints
  - name: blockchain
    description: Blockchain query endpoints
  - name: solana
    description: Solana program endpoints (PoD + airspace)
paths:
  /uploadJSON:
    post:
      tags:
        - resq-backend
      summary: POST /uploadJSON
      description: Handles application/json uploads for generic structured data.
      operationId: upload_json
      requestBody:
        description: JSON data to upload
        content:
          application/json:
            schema:
              type: object
              description: Arbitrary JSON data to upload to IPFS
              additionalProperties: true
        required: true
      responses:
        '200':
          description: JSON uploaded successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadResponse'
        '500':
          description: Internal Server Error
components:
  schemas:
    UploadResponse:
      type: object
      description: Response payload for file uploads.
      required:
        - cid
      properties:
        cid:
          type: string
          description: Content Identifier (CID) of the uploaded file on IPFS.

````