Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an expiration to FileUploadProtocol #176

Merged
merged 2 commits into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cs3/storage/provider/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ message FileUploadProtocol {
// REQUIRED.
// Tells to the gateway if the client should be exposed directly to the upload_endpoint.
bool expose = 5;
// OPTIONAL.
// The time at which the upload will expire.
cs3.types.v1beta1.Timestamp expiration = 6;
}

// A file download protocol object stores information about
Expand Down
8 changes: 8 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17278,6 +17278,14 @@ <h3 id="cs3.storage.provider.v1beta1.FileUploadProtocol">FileUploadProtocol</h3>
Tells to the gateway if the client should be exposed directly to the upload_endpoint. </p></td>
</tr>

<tr>
<td>expiration</td>
<td><a href="#cs3.types.v1beta1.Timestamp">cs3.types.v1beta1.Timestamp</a></td>
<td></td>
<td><p>OPTIONAL.
The time at which the upload will expire. </p></td>
</tr>

</tbody>
</table>

Expand Down