openapi: 3.0.3
info:
  title: NAVAPI
  description: ''
  version: 1.0.0
servers:
  -
    url: 'http://navapi.localhost'
paths:
  /image:
    post:
      summary: 'Post an image.'
      description: "This endpoint allows you to add an image to the AM system linked to a lot.\n\n<aside class=\"notice\">The relatedSystemId has to be an existing lot in the db</aside>"
      parameters:
        -
          in: query
          name: api_token
          description: 'Authentication key.'
          example: '{YOUR_AUTH_KEY}'
          required: true
          schema:
            type: string
            description: 'Authentication key.'
            example: '{YOUR_AUTH_KEY}'
        -
          in: query
          name: systemId
          description: ''
          example: eos
          required: true
          schema:
            type: string
            description: ''
            example: eos
        -
          in: query
          name: tableNo
          description: ''
          example: 10088864.927432
          required: true
          schema:
            type: number
            description: ''
            example: 10088864.927432
        -
          in: query
          name: relatedSystemId
          description: 'It has to be an existing lot in the db'
          example: libero
          required: true
          schema:
            type: string
            description: 'It has to be an existing lot in the db'
            example: libero
        -
          in: query
          name: entryNo
          description: ''
          example: 3700.465
          required: true
          schema:
            type: number
            description: ''
            example: 3700.465
        -
          in: query
          name: storageType
          description: ''
          example: tempora
          required: true
          schema:
            type: string
            description: ''
            example: tempora
        -
          in: query
          name: sortNo
          description: ''
          example: 19.6665
          required: true
          schema:
            type: number
            description: ''
            example: 19.6665
        -
          in: query
          name: mediaType
          description: ''
          example: est
          required: true
          schema:
            type: string
            description: ''
            example: est
        -
          in: query
          name: publicMediaPath
          description: 'An active url'
          example: ut
          required: true
          schema:
            type: string
            description: 'An active url'
            example: ut
        -
          in: query
          name: code
          description: ''
          example: asperiores
          required: true
          schema:
            type: string
            description: ''
            example: asperiores
        -
          in: query
          name: filename
          description: ''
          example: consequatur
          required: true
          schema:
            type: string
            description: ''
            example: consequatur
        -
          in: header
          name: Content-Type
          description: ''
          example: application/xml
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - 'Image management'
  '/image/{id}':
    put:
      summary: 'Update an image.'
      description: 'This endpoint allows you to update an image in the AM system.'
      parameters:
        -
          in: query
          name: api_token
          description: 'Authentication key.'
          example: '{YOUR_AUTH_KEY}'
          required: true
          schema:
            type: string
            description: 'Authentication key.'
            example: '{YOUR_AUTH_KEY}'
        -
          in: header
          name: Content-Type
          description: ''
          example: application/xml
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - 'Image management'
    delete:
      summary: 'Soft delete an image.'
      description: 'This endpoint allows you to soft delete an image in the AM system.'
      parameters:
        -
          in: query
          name: api_token
          description: 'Authentication key.'
          example: '{YOUR_AUTH_KEY}'
          required: true
          schema:
            type: string
            description: 'Authentication key.'
            example: '{YOUR_AUTH_KEY}'
        -
          in: header
          name: Content-Type
          description: ''
          example: application/xml
          schema:
            type: string
        -
          in: header
          name: Accept
          description: ''
          example: application/json
          schema:
            type: string
      responses: {  }
      tags:
        - 'Image management'
    parameters:
      -
        in: path
        name: id
        description: ''
        example: ut
        required: true
        schema:
          type: string
tags:
  -
    name: 'Image management'
    description: "\nAPIs for managing images"
components:
  securitySchemes:
    default:
      type: apiKey
      name: api_token
      in: query
      description: ''
security:
  -
    default: []
