header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
{"name":"Test","type":"IMAGE","description":"This is a test again."}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://localhost:8190/api/dataset/create' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "Test",
"type": "IMAGE",
"description": "This is a test again."
}'
Responses
🟢200Successful
application/json
Body
Example
{"code":"OK","message":"","data":{"id":766400,"name":"Test name","type":"IMAGE","description":"This is a test"}}