Skip to content

Latest commit

 

History

History
1445 lines (1111 loc) · 43.8 KB

File metadata and controls

1445 lines (1111 loc) · 43.8 KB

IO.Swagger.Api.BaseApi

All URIs are relative to https://localhost/

Method HTTP request Description
ApiBaseByTypeByIdAddByNewContainerTypeGet GET /_api/base/{type}/{id}/Add/{newContainerType} Gets the empty container.
ApiBaseByTypeByIdAddPut PUT /_api/base/{type}/{id}/Add Saves the new container.
ApiBaseByTypeByIdCheckinPut PUT /_api/base/{type}/{id}/Checkin Checkins the specified .
ApiBaseByTypeByIdCheckoutPut PUT /_api/base/{type}/{id}/Checkout Checkouts the specified .
ApiBaseByTypeByIdChildrenGet GET /_api/base/{type}/{id}/Children Gets the children of container.
ApiBaseByTypeByIdChildrenTypesGet GET /_api/base/{type}/{id}/Children/Types Gets the container types.
ApiBaseByTypeByIdDelete DELETE /_api/base/{type}/{id} Deletes the container.
ApiBaseByTypeByIdDocumentsGet GET /_api/base/{type}/{id}/Documents Gets the documents.
ApiBaseByTypeByIdDocumentsTypesGet GET /_api/base/{type}/{id}/Documents/Types Gets the documents types.
ApiBaseByTypeByIdGet GET /_api/base/{type}/{id} Gets the container by identifier.
ApiBaseByTypeByIdGetFileGet GET /_api/base/{type}/{id}/GetFile Gets the file.
ApiBaseByTypeByIdLookupListByLookupListNameGet GET /_api/base/{type}/{id}/LookupList/{lookupListName} Gets the lookup list entries.
ApiBaseByTypeByIdMovePost POST /_api/base/{type}/{id}/Move Moves the object.
ApiBaseByTypeByIdPost POST /_api/base/{type}/{id} Updates the container.
ApiBaseByTypeByIdUploadFilePost POST /_api/base/{type}/{id}/UploadFile Uploads the file.
ApiBaseByTypeByIdVersionsByVersionIdGet GET /_api/base/{type}/{id}/Versions/{versionId} Gets the version by identifier.
ApiBaseByTypeByIdVersionsByVersionIdGetFileGet GET /_api/base/{type}/{id}/Versions/{versionId}/GetFile Gets the file for version.
ApiBaseByTypeByIdVersionsByVersionIdRestorePost POST /_api/base/{type}/{id}/Versions/{versionId}/Restore Restores the version.
ApiBaseByTypeByIdVersionsGet GET /_api/base/{type}/{id}/Versions Gets the versions.
ApiBaseByTypeGet GET /_api/base/{type} Gets containers by a type.
ApiBaseRootGet GET /_api/base/Root Gets the root.
ApiBaseTypesGet GET /_api/base/Types Gets the container types.

ApiBaseByTypeByIdAddByNewContainerTypeGet

Container ApiBaseByTypeByIdAddByNewContainerTypeGet (string type, string id, string newContainerType, string authorization)

Gets the empty container.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdAddByNewContainerTypeGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var newContainerType = newContainerType_example;  // string | New type of the container.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the empty container.
                Container result = apiInstance.ApiBaseByTypeByIdAddByNewContainerTypeGet(type, id, newContainerType, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdAddByNewContainerTypeGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
newContainerType string New type of the container.
authorization string access token

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdAddPut

Container ApiBaseByTypeByIdAddPut (string type, string id, string authorization, Container newContainer = null)

Saves the new container.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdAddPutExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token
            var newContainer = new Container(); // Container | The new container. (optional) 

            try
            {
                // Saves the new container.
                Container result = apiInstance.ApiBaseByTypeByIdAddPut(type, id, authorization, newContainer);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdAddPut: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token
newContainer Container The new container. [optional]

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdCheckinPut

Container ApiBaseByTypeByIdCheckinPut (string type, string id, string authorization, Container container = null)

Checkins the specified .

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdCheckinPutExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var authorization = authorization_example;  // string | access token
            var container = new Container(); // Container | The container. (optional) 

            try
            {
                // Checkins the specified .
                Container result = apiInstance.ApiBaseByTypeByIdCheckinPut(type, id, authorization, container);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdCheckinPut: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
authorization string access token
container Container The container. [optional]

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdCheckoutPut

Container ApiBaseByTypeByIdCheckoutPut (string type, string id, string authorization, Container container = null)

Checkouts the specified .

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdCheckoutPutExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var authorization = authorization_example;  // string | access token
            var container = new Container(); // Container | The container. (optional) 

            try
            {
                // Checkouts the specified .
                Container result = apiInstance.ApiBaseByTypeByIdCheckoutPut(type, id, authorization, container);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdCheckoutPut: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
authorization string access token
container Container The container. [optional]

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdChildrenGet

List ApiBaseByTypeByIdChildrenGet (string type, string id, string authorization)

Gets the children of container.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdChildrenGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the children of container.
                List<Container> result = apiInstance.ApiBaseByTypeByIdChildrenGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdChildrenGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdChildrenTypesGet

List ApiBaseByTypeByIdChildrenTypesGet (string type, string id, string authorization)

Gets the container types.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdChildrenTypesGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the container types.
                List<string> result = apiInstance.ApiBaseByTypeByIdChildrenTypesGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdChildrenTypesGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeByIdDelete

bool? ApiBaseByTypeByIdDelete (string type, string id, string authorization)

Deletes the container.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Deletes the container.
                bool? result = apiInstance.ApiBaseByTypeByIdDelete(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdDelete: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token

Return type

bool?

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeByIdDocumentsGet

List ApiBaseByTypeByIdDocumentsGet (string type, string id, string authorization)

Gets the documents.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdDocumentsGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the documents.
                List<Container> result = apiInstance.ApiBaseByTypeByIdDocumentsGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdDocumentsGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdDocumentsTypesGet

List ApiBaseByTypeByIdDocumentsTypesGet (string type, string id, string authorization)

Gets the documents types.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdDocumentsTypesGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the documents types.
                List<string> result = apiInstance.ApiBaseByTypeByIdDocumentsTypesGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdDocumentsTypesGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeByIdGet

Container ApiBaseByTypeByIdGet (string type, string id, string authorization)

Gets the container by identifier.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifer.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the container by identifier.
                Container result = apiInstance.ApiBaseByTypeByIdGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifer.
authorization string access token

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdGetFileGet

void ApiBaseByTypeByIdGetFileGet (string type, string id, string authorization)

Gets the file.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdGetFileGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the file.
                apiInstance.ApiBaseByTypeByIdGetFileGet(type, id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdGetFileGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
authorization string access token

Return type

void (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]

ApiBaseByTypeByIdLookupListByLookupListNameGet

List ApiBaseByTypeByIdLookupListByLookupListNameGet (string type, string id, string lookupListName, string authorization)

Gets the lookup list entries.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdLookupListByLookupListNameGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var lookupListName = lookupListName_example;  // string | Name of the lookup list.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the lookup list entries.
                List<KeyValuePairStringString> result = apiInstance.ApiBaseByTypeByIdLookupListByLookupListNameGet(type, id, lookupListName, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdLookupListByLookupListNameGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
lookupListName string Name of the lookup list.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeByIdMovePost

Container ApiBaseByTypeByIdMovePost (string type, string id, string authorization, Container container = null)

Moves the object.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdMovePostExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token
            var container = new Container(); // Container | The container. (optional) 

            try
            {
                // Moves the object.
                Container result = apiInstance.ApiBaseByTypeByIdMovePost(type, id, authorization, container);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdMovePost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token
container Container The container. [optional]

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdPost

Container ApiBaseByTypeByIdPost (string type, string id, string authorization, Container newContainer = null)

Updates the container.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdPostExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var id = id_example;  // string | The container identifier.
            var authorization = authorization_example;  // string | access token
            var newContainer = new Container(); // Container | The new container. (optional) 

            try
            {
                // Updates the container.
                Container result = apiInstance.ApiBaseByTypeByIdPost(type, id, authorization, newContainer);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdPost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
id string The container identifier.
authorization string access token
newContainer Container The new container. [optional]

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdUploadFilePost

void ApiBaseByTypeByIdUploadFilePost (string type, string id, string authorization)

Uploads the file.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdUploadFilePostExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Uploads the file.
                apiInstance.ApiBaseByTypeByIdUploadFilePost(type, id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdUploadFilePost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
authorization string access token

Return type

void (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]

ApiBaseByTypeByIdVersionsByVersionIdGet

DocumentVersion ApiBaseByTypeByIdVersionsByVersionIdGet (string type, string id, string versionId, string authorization)

Gets the version by identifier.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdVersionsByVersionIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var versionId = versionId_example;  // string | The version identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the version by identifier.
                DocumentVersion result = apiInstance.ApiBaseByTypeByIdVersionsByVersionIdGet(type, id, versionId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdVersionsByVersionIdGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
versionId string The version identifier.
authorization string access token

Return type

DocumentVersion

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeByIdVersionsByVersionIdGetFileGet

void ApiBaseByTypeByIdVersionsByVersionIdGetFileGet (string type, string id, string versionId, string authorization)

Gets the file for version.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdVersionsByVersionIdGetFileGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document .
            var id = id_example;  // string | The document identifier.
            var versionId = versionId_example;  // string | The version identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the file for version.
                apiInstance.ApiBaseByTypeByIdVersionsByVersionIdGetFileGet(type, id, versionId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdVersionsByVersionIdGetFileGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document .
id string The document identifier.
versionId string The version identifier.
authorization string access token

Return type

void (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]

ApiBaseByTypeByIdVersionsByVersionIdRestorePost

Container ApiBaseByTypeByIdVersionsByVersionIdRestorePost (string type, string id, string versionId, string authorization)

Restores the version.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdVersionsByVersionIdRestorePostExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document .
            var id = id_example;  // string | The document identifier.
            var versionId = versionId_example;  // string | The version identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Restores the version.
                Container result = apiInstance.ApiBaseByTypeByIdVersionsByVersionIdRestorePost(type, id, versionId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdVersionsByVersionIdRestorePost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document .
id string The document identifier.
versionId string The version identifier.
authorization string access token

Return type

Container

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseByTypeByIdVersionsGet

List ApiBaseByTypeByIdVersionsGet (string type, string id, string authorization)

Gets the versions.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeByIdVersionsGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the document.
            var id = id_example;  // string | The document identifier.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the versions.
                List<DocumentVersion> result = apiInstance.ApiBaseByTypeByIdVersionsGet(type, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeByIdVersionsGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the document.
id string The document identifier.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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

ApiBaseByTypeGet

List ApiBaseByTypeGet (string type, string authorization)

Gets containers by a type.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseByTypeGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var type = type_example;  // string | Type of the container.
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets containers by a type.
                List<Container> result = apiInstance.ApiBaseByTypeGet(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseByTypeGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
type string Type of the container.
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseRootGet

List ApiBaseRootGet (string authorization)

Gets the root.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseRootGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the root.
                List<Container> result = apiInstance.ApiBaseRootGet(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseRootGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

ApiBaseTypesGet

List ApiBaseTypesGet (string authorization)

Gets the container types.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ApiBaseTypesGetExample
    {
        public void main()
        {
            
            var apiInstance = new BaseApi();
            var authorization = authorization_example;  // string | access token

            try
            {
                // Gets the container types.
                List<string> result = apiInstance.ApiBaseTypesGet(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BaseApi.ApiBaseTypesGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml

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