confluence-content-activity
Returns create and update activities of pages, blog posts, comments, and attachments in the given time range from Atlassian Confluence Cloud.
Syntax
confluence-content-activity [profile=STRING] [duration=STRING] [from=DATETIME] [to=DATETIME] [page-size=INT] [slice-minutes=INT]
Options
- profile=STRING
- Optional. Confluence connect profile code. Separate multiple codes with commas. Queries all Confluence connect profiles you can use if omitted.
- duration=STRING
- Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
10mmeans data from 10 minutes earlier. Recent 1 day iffromanddurationare omitted. - from=DATETIME
- Optional. Start time of range.
yyyyMMddHHmmssformat. If you omit time part, it will be padded by zero. - to=DATETIME
- Optional. End time of range.
yyyyMMddHHmmssformat. If you omit time part, it will be padded by zero. (default: current time) - page-size=INT
- Optional. Maximum records returned per API request, 1 to 250. (default: 50)
- slice-minutes=INT
- Optional. Time range in minutes one API request covers, 1 to 1440. A longer period is split into ranges of this length. (default: 60)
Output fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Profile | Connect profile code used for the query. e.g. confluence_cloud |
| _time | Date | Time | Time the version was saved |
| action | String | Action | page_created, page_updated, blogpost_created, blogpost_updated, comment_created, comment_updated, attachment_created, attachment_updated |
| doc_id | String | Document ID | Page or blog post ID. e.g. 3604497 |
| doc_title | String | Document title | e.g. 10/24 새로 만든 페이지 |
| space_key | String | Space key | e.g. LTS |
| space_name | String | Space name | e.g. Log Test Space |
| ver | Integer | Version | Version number. 1 means created |
| ver_msg | String | Version message | Message entered when the version was saved |
| comment_id | String | Comment ID | Only for comment activities. e.g. 3670039 |
| comment_location | String | Comment location | footer, inline |
| selected_text | String | Selected text | Text an inline comment is attached to |
| file_id | String | File ID | Only for attachment activities. e.g. att3670049 |
| file_name | String | File name | e.g. image-20261024-150442.png |
| file_size | Long | File size | In bytes |
| mime_type | String | MIME type | e.g. image/png |
| user | String | Account | Account ID of the user who saved the version. e.g. 712020:00000000-0000-4000-… |
| user_name | String | Name | e.g. 홍길동 |
| user_email | String | Empty if the account hides it. e.g. user@example.com | |
| content | String | Content | Plain text of the page, blog post, or comment body |
| url | String | URL | e.g. https://example.atlassian.net/wiki/… |