# \ArchivesApi

All URIs are relative to *http://localhost:5000*

Method | HTTP request | Description
------------- | ------------- | -------------
[**archive_project**](ArchivesApi.md#archive_project) | **POST** /v3/streams/projects/{project_id}/archives | Archive a projects data and metadata
[**list_archives**](ArchivesApi.md#list_archives) | **GET** /v3/streams/projects/{project_id}/archives | List Archive policies for a project



## archive_project

> models::ArchiveProject201Response archive_project(project_id, new_archive)
Archive a projects data and metadata

Archive a projects data and metadata

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_id** | **String** | Unique ID of project generated by Tapis | [required] |
**new_archive** | [**NewArchive**](NewArchive.md) |  | [required] |

### Return type

[**models::ArchiveProject201Response**](archive_project_201_response.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_archives

> models::ListArchives201Response list_archives(project_id)
List Archive policies for a project

List Archives policies for a project

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_id** | **String** | Unique ID of project generated by Tapis | [required] |

### Return type

[**models::ListArchives201Response**](list_archives_201_response.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

