????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/forge/forge-api-nodejs-client/docs/ |
Upload File : |
# ForgeSdk.ProjectsApi
All URIs are relative to *https://developer.api.autodesk.com/*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getHubProjects**](ProjectsApi.md#getHubProjects) | **GET** /project/v1/hubs/{hub_id}/projects |
[**getProject**](ProjectsApi.md#getProject) | **GET** /project/v1/hubs/{hub_id}/projects/{project_id} |
[**getProjectHub**](ProjectsApi.md#getProjectHub) | **GET** /project/v1/hubs/{hub_id}/projects/{project_id}/hub |
[**getProjectTopFolders**](ProjectsApi.md#getProjectTopFolders) | **GET** /project/v1/hubs/{hub_id}/projects/{project_id}/topFolders |
[**postStorage**](ProjectsApi.md#postStorage) | **POST** /data/v1/projects/{project_id}/storage |
<a name="getHubProjects"></a>
# **getHubProjects**
> Projects getHubProjects(hubId, opts, oauth2client, credentials)
Returns a collection of projects for a given `hub_id`. A project represents an A360 project or a BIM 360 project which is set up under an A360 hub or BIM 360 account, respectively. Within a hub or an account, multiple projects can be created to be used.
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**hubId** | **String**| the `hub id` for the current operation |
**filterId** | [**[String]**](String.md)| filter by the `id` of the `ref` target | [optional]
**filterExtensionType** | [**[String]**](String.md)| filter by the extension type | [optional]
### Return type
[**Projects**](Projects.md)
### Authorization
[oauth2_access_code](../README.md#authentication)
### HTTP request headers
- **Content-Type**: application/vnd.api+json
- **Accept**: application/vnd.api+json, application/json
<a name="getProject"></a>
# **getProject**
> Project getProject(hubId, projectId, oauth2client, credentials)
Returns a project for a given `project_id`.
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**hubId** | **String**| the `hub id` for the current operation |
**projectId** | **String**| the `project id` |
### Return type
[**Project**](Project.md)
### Authorization
[oauth2_access_code](../README.md#authentication)
### HTTP request headers
- **Content-Type**: application/vnd.api+json
- **Accept**: application/vnd.api+json, application/json
<a name="getProjectHub"></a>
# **getProjectHub**
> Hub getProjectHub(hubId, projectId, oauth2client, credentials)
Returns the hub for a given `project_id`.
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**hubId** | **String**| the `hub id` for the current operation |
**projectId** | **String**| the `project id` |
### Return type
[**Hub**](Hub.md)
### Authorization
[oauth2_access_code](../README.md#authentication)
### HTTP request headers
- **Content-Type**: application/vnd.api+json
- **Accept**: application/vnd.api+json, application/json
<a name="getProjectTopFolders"></a>
# **getProjectTopFolders**
> TopFolders getProjectTopFolders(hubId, projectId, oauth2client, credentials)
Returns the details of the highest level folders the user has access to for a given project
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**hubId** | **String**| the `hub id` for the current operation |
**projectId** | **String**| the `project id` |
### Return type
[**TopFolders**](TopFolders.md)
### Authorization
[oauth2_access_code](../README.md#authentication)
### HTTP request headers
- **Content-Type**: application/vnd.api+json
- **Accept**: application/vnd.api+json, application/json
<a name="postStorage"></a>
# **postStorage**
> StorageCreated postStorage(projectId, body, oauth2client, credentials)
Creates a storage location in the OSS where data can be uploaded to.
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**projectId** | **String**| the `project id` |
**body** | [**CreateStorage**](CreateStorage.md)| describe the file the storage is created for |
### Return type
[**StorageCreated**](StorageCreated.md)
### Authorization
[oauth2_access_code](../README.md#authentication)
### HTTP request headers
- **Content-Type**: application/vnd.api+json
- **Accept**: application/vnd.api+json, application/json