DOC-14382 channel history#973
Conversation
RIT3shSapata
left a comment
There was a problem hiding this comment.
The API specs have changed, please refer to the following for the latest API Spec:
@adamcfraser would like your opinion on two things:
- Do we want to mention that this implementation is just a phase 1 implementation and then also add a note that this would be an automated process in a future release?
- Should the User's history compaction be called
User Channel History CompactionorUser Access History Compaction?
RIT3shSapata
left a comment
There was a problem hiding this comment.
The API specs have changed, please refer to the following for the latest API Spec:
@adamcfraser would like your opinion on two things:
- Do we want to mention that this implementation is just a phase 1 implementation and then also add a note that this would be an automated process in a future release?
- Should the User's history compaction be called
User Channel History CompactionorUser Access History Compaction?
There was a problem hiding this comment.
I've updated this with the current filename but will change depending on feedback from @adamcfraser on the specific name for this feature/file.
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
Co-authored-by: Ritesh Sapata <34858159+RIT3shSapata@users.noreply.github.com>
RIT3shSapata
left a comment
There was a problem hiding this comment.
Everything LGTM, just a few changes in the name
| For the full API reference, see xref:ROOT:rest_api_admin_static.adoc#tag/Document/operation/post_keyspace-_history_compact[POST /{keyspace}/_history/compact]. | ||
|
|
||
|
|
||
| == User Channel History |
There was a problem hiding this comment.
@iamfortune please rename this to User Access History
| == User Channel History | |
| == User Access History |
|
|
||
| == User Channel History | ||
|
|
||
| === About User Channel History |
There was a problem hiding this comment.
| === About User Channel History | |
| === About User Access History |
| The operation does not affect the user's current channel access, does not modify underlying documents, and does not interrupt active continuous replications. | ||
|
|
||
|
|
||
| === Retrieve User Channel History |
There was a problem hiding this comment.
| === Retrieve User Channel History | |
| === Retrieve User Access History |
| } | ||
| ---- | ||
|
|
||
| The response shows all channel history entries organised by scope and collection. |
There was a problem hiding this comment.
| The response shows all channel history entries organised by scope and collection. | |
| The response shows all access history entries organised by scope and collection. |
| For the full API reference, see xref:ROOT:rest_api_admin_static.adoc#tag/Database-Security/operation/get_db-_user-name-_access_history[GET /{db}/_user/{name}/_access_history]. | ||
|
|
||
|
|
||
| === Compact User Channel History |
There was a problem hiding this comment.
| === Compact User Channel History | |
| === Compact User Access History |
| } | ||
| ---- | ||
|
|
||
| The response confirms the channels removed from the user's history. |
There was a problem hiding this comment.
| The response confirms the channels removed from the user's history. | |
| The response confirms the channels removed from the user's access history. |

Docs Issue: DOC-14382
PR to add channel history for GSW 4.1
Preview URL:
https://preview.docs-test.couchbase.com/docs-sync-gateway-DOC-14382-channel-history-p1
You will need the Docs Team credentials on Confluence.