openapi: 3.1.0
info:
title: API Reference subpackage_actions subpackage_importStorage API
version: 1.0.0
servers:
- url: http://localhost:8000
tags:
- name: subpackage_importStorage
paths:
/api/storages/types:
get:
operationId: list-types
summary: List all import storages types
description: Retrieve a list of the import storages types.
tags:
- subpackage_importStorage
parameters:
- name: Authorization
in: header
description: 'The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>'
required: true
schema:
type: string
responses:
'200':
description: List of import storage types
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems'
components:
schemas:
ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems:
type: object
properties:
name:
type: string
title:
type: string
title: ApiStoragesTypesGetResponsesContentApplicationJsonSchemaItems
securitySchemes:
Token:
type: apiKey
in: header
name: Authorization
description: 'The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>'