Add ML Backend
Add an ML backend to a project using the Label Studio UI or by sending a POST request using the following cURL
command:
```bash
curl -X POST -H 'Content-type: application/json' http://localhost:8000/api/ml -H 'Authorization: Token abc123'\
--data '{"url": "http://localhost:9090", "project": {project_id}}'
Request body
Response
Changes
Changed in 1 of the 97 revisions of this API.511
- ▲
request body became required
request-body-became-required
- ▲
the request property
projectbecame requiredrequest-property-became-required
- ▲
the request property
urlbecame requiredrequest-property-became-required
- ▲
the
urlrequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
extra_paramsrequest property type/format changed fromobject/to/request-property-type-changed
- ○
added the new optional request property
auto_updatenew-optional-request-property
- ○
added the new optional request property
model_versionnew-optional-request-property
- ○
added the media type
application/x-www-form-urlencodedto the request bodyrequest-body-media-type-added
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ○
the request optional property
basic_auth_passbecame write-onlyrequest-optional-property-became-write-only
- ○
the request property
basic_auth_passbecame nullablerequest-property-became-nullable
- ○
the request property
basic_auth_userbecame nullablerequest-property-became-nullable
- ○
the request property
descriptionbecame nullablerequest-property-became-nullable
- ○
the request property
extra_paramsbecame nullablerequest-property-became-nullable
- ○
the request property
titlebecame nullablerequest-property-became-nullable
- ○
the
timeoutrequest property type/format was generalized frominteger/tonumber/doublerequest-property-type-generalized
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 97 revisions, 1 has no diff computed.