{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sync Authentication ExtensionIntent API",
    "version": "0.2.0"
  },
  "items": [
    {
      "info": {
        "name": "ExtensionIntent",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all ExtensionIntents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sync.sparetech.io/v1/extension-intents",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Only returns intents in the given status."
              },
              {
                "name": "created.gt",
                "value": "2022-12-10",
                "type": "query",
                "description": "A filter based on the object's `createdAt` field. Return results where the field is greater than or equal to this value. Follows the ISO-8601 standard format."
              },
              {
                "name": "created.lt",
                "value": "2022-12-13",
                "type": "query",
                "description": "A filter based on the object's `createdAt` field. Return results where the field is less than or equal to this value. Follows the ISO-8601 standard format."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned. Limit can range between 1 and 99, and the default is 10."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A cursor for pagination across multiple pages of results."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of ExtensionIntents."
        },
        {
          "info": {
            "name": "Retrieve an ExtensionIntent",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sync.sparetech.io/v1/extension-intents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the details of an ExtensionIntent that has previously been created."
        },
        {
          "info": {
            "name": "Confirm material extension",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sync.sparetech.io/v1/extension-intents/:id/confirm",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Confirms the extension of the material to a new plant."
        },
        {
          "info": {
            "name": "Reject material extension",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sync.sparetech.io/v1/extension-intents/:id/reject",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Marks the intent as rejected by the external system."
        }
      ]
    }
  ],
  "bundled": true
}