{
  "opencollection": "1.0.0",
  "info": {
    "name": "Collections API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-bynder-domain}/api/v4/collections",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "orderBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "ids",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              },
              {
                "name": "keyword",
                "value": "",
                "type": "query"
              },
              {
                "name": "isPublic",
                "value": "",
                "type": "query"
              },
              {
                "name": "minCount",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a list of collections."
        },
        {
          "info": {
            "name": "Create collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-bynder-domain}/api/v4/collections",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "name",
                  "value": ""
                },
                {
                  "name": "description",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a new collection."
        }
      ]
    },
    {
      "info": {
        "name": "Collections ID",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve specific collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a specific collection by ID."
        },
        {
          "info": {
            "name": "Modify collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "name",
                  "value": ""
                },
                {
                  "name": "description",
                  "value": ""
                },
                {
                  "name": "isPublic",
                  "value": ""
                },
                {
                  "name": "thumbnailAssetId",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Modify a specific collection by ID."
        },
        {
          "info": {
            "name": "Delete collection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a specific collection by ID."
        }
      ]
    },
    {
      "info": {
        "name": "Share collection",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Share collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id/share",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "recipients",
                  "value": ""
                },
                {
                  "name": "groups",
                  "value": ""
                },
                {
                  "name": "profiles",
                  "value": ""
                },
                {
                  "name": "collectionOptions",
                  "value": ""
                },
                {
                  "name": "loginRequired",
                  "value": ""
                },
                {
                  "name": "dateStart",
                  "value": ""
                },
                {
                  "name": "dateEnd",
                  "value": ""
                },
                {
                  "name": "sendMail",
                  "value": ""
                },
                {
                  "name": "message",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Share a specific collection by ID."
        }
      ]
    },
    {
      "info": {
        "name": "Collections assets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the assets of a specific collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id/media",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve the assets of a specific collection by ID."
        },
        {
          "info": {
            "name": "Add assets to a collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id/media",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "data",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Add assets to a specific collection by ID."
        },
        {
          "info": {
            "name": "Remove assets from a collection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your-bynder-domain}/api/v4/collections/:id/media",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deleteIds",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Remove assets from a specific collection by ID."
        }
      ]
    }
  ],
  "bundled": true
}