Skip to content

Commit

Permalink
add etag to versions (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored Mar 16, 2021
1 parent 47a362d commit 0344b34
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cs3/storage/provider/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ message FileVersion {
// REQUIRED.
// The Unix Epoch timestamp in seconds.
uint64 mtime = 5;
// REQUIRED.
// As decribed in https://tools.ietf.org/html/rfc7232#section-2.3
// For a file version, the etag does not change because a version is immutable.
string etag = 6;
}

// A recycle item represents the information
Expand Down
12 changes: 11 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13391,6 +13391,15 @@ <h3 id="cs3.storage.provider.v1beta1.FileVersion">FileVersion</h3>
The Unix Epoch timestamp in seconds. </p></td>
</tr>

<tr>
<td>etag</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>REQUIRED.
As decribed in https://tools.ietf.org/html/rfc7232#section-2.3
For a file version, the etag does not change because a version is immutable. </p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -13558,7 +13567,8 @@ <h3 id="cs3.storage.provider.v1beta1.RecycleItem">RecycleItem</h3>
<td><a href="#string">string</a></td>
<td></td>
<td><p>REQUIRED.
The original path of the deleted resource. </p></td>
The original path of the deleted resource.
MUST start with the slash character (/). </p></td>
</tr>

<tr>
Expand Down

0 comments on commit 0344b34

Please sign in to comment.