docs: Update custom connector docs for updating icons via multipart requests
@@ -43,18 +43,20 @@ properties.
New API endpoints for defining custom connectors:
| HTTP Verb | Path | Description |
-| --------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| ---------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| GET | /api/**{version}**/connector-templates | Returns a list of known connector templates |
| GET | /api/**{version}**/connector-templates/**{templateId}** | Returns a specific connector template identified by the given **templateId** |
| POST | /api/**{version}**/connectors/custom/info | Provides information like proposed name, icon and description for new connector |
| POST | /api/**{version}**/connectors/custom | Create a new custom connector |
+| POST (multipart) | /api/**{version}**/connectors/custom | Create a new custom connector. Accepts `multipart/form-data` request with two fields: `connectorSettings` and `icon` |
| GET | /api/**{version}**/connectors?query=connectorGroupId%3D**{templateId}** | Lists all connectors that were created from a template identified with **templateId** |
| GET | /api/**{version}**/connectors/**{connectorId}** | Fetches a connector with the id **{connectorId}** |
| GET | /api/**{version}**/connectors/**{connectorId}**/details | Fetches details in same form as the `/custom/info` endpoint above |
| DELETE | /api/**{version}**/connectors/**{connectorId}** | Deletes a connector with the id **{connectorId}** |
| PUT | /api/**{version}**/connectors/**{connectorId}** | Updates a connector with the id **{connectorId}** |
+| PUT (multipart) | /api/**{version}**/connectors/custom | Updates a connector with the id **{connectorId}**. Accepts `multipart/form-data` request with two fields: `connector` and `icon` |
| GET | /api/**{version}**/connectors/**{connectorId}**/icon | Serves the connector icon if one is saved separately in the DB |
-| POST | /api/**{version}**/connectors/**{connectorId}**/icon | Updates the icon for the specified connector |
+| POST (multipart) | /api/**{version}**/connectors/**{connectorId}**/icon | Updates the icon for the specified connector. Accepts `multipart/form-data` request with one field: `icon` |
### New custom connector based on Swagger specification example
