{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nanonets External Integrations OCR Train API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "OCR Train",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload Training Images By File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nanonets.com/OCR/Model/:model_id/UploadFile/",
            "params": [
              {
                "name": "model_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Nanonets model."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "data",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload locally-stored training images for a model."
        },
        {
          "info": {
            "name": "Upload Training Images By URL",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nanonets.com/OCR/Model/:model_id/UploadUrls/",
            "params": [
              {
                "name": "model_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Nanonets model."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Upload training images for a model via publicly accessible URLs."
        },
        {
          "info": {
            "name": "Train Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nanonets.com/OCR/Model/:model_id/Train/",
            "params": [
              {
                "name": "model_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Nanonets model."
              }
            ]
          },
          "docs": "Train or retrain a Nanonets OCR model after training data has been uploaded."
        }
      ]
    }
  ],
  "bundled": true
}