oc-catalog/selfapi/docs/WorkspaceApi.md

3.5 KiB

\WorkspaceApi

All URIs are relative to https://localhost:49618/v1

Method HTTP request Description
WorkspaceControllerAddModelToWorkspace Post /workspace/
WorkspaceControllerDeleteElementFromUserWorkspace Delete /workspace/
WorkspaceControllerGetFullWorkspace Get /workspace/list_model
WorkspaceControllerGetWorkspace Get /workspace/list

WorkspaceControllerAddModelToWorkspace

WorkspaceControllerAddModelToWorkspace(ctx, id, rtype)

Insert a resource in the workspace

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string ID of a resource
rtype string Type of resource

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WorkspaceControllerDeleteElementFromUserWorkspace

WorkspaceControllerDeleteElementFromUserWorkspace(ctx, id, rtype)

Remove a resource from the workspace

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string ID of a resource
rtype string Type of resource

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WorkspaceControllerGetFullWorkspace

ModelsWorkspaceModel WorkspaceControllerGetFullWorkspace(ctx, )

Get full workspace elements based on user_id token

Required Parameters

This endpoint does not need any parameter.

Return type

ModelsWorkspaceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WorkspaceControllerGetWorkspace

ModelsWorkspace WorkspaceControllerGetWorkspace(ctx, )

Get workspace elements based on user_id token

Required Parameters

This endpoint does not need any parameter.

Return type

ModelsWorkspace

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]