diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 12:08:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-22 12:08:28 +0300 |
commit | 56865fdf95db03cc0ccd01a88d9457ba0a050153 (patch) | |
tree | cfa861e4b33f65c4fff2486b04abfe1127ee80f4 /doc/api | |
parent | 65d7736ff13e1f5c393f6723b7da0d1b2ddb94f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/graphql/reference/index.md | 2 | ||||
-rw-r--r-- | doc/api/users.md | 6 | ||||
-rw-r--r-- | doc/api/vulnerabilities.md | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index a5efccabd38..c63b1cf0352 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -23401,7 +23401,7 @@ Represents the network policy. | Name | Type | Description | | ---- | ---- | ----------- | -| <a id="noteauthor"></a>`author` | [`UserCore!`](#usercore) | User who wrote this note. | +| <a id="noteauthor"></a>`author` | [`UserCore`](#usercore) | User who wrote this note. | | <a id="noteauthoriscontributor"></a>`authorIsContributor` | [`Boolean`](#boolean) | Indicates whether the note author is a contributor. | | <a id="noteawardemoji"></a>`awardEmoji` | [`AwardEmojiConnection`](#awardemojiconnection) | List of emoji reactions associated with the note. (see [Connections](#connections)) | | <a id="notebody"></a>`body` | [`String!`](#string) | Content of the note. | diff --git a/doc/api/users.md b/doc/api/users.md index 2908f552a9d..c7282b01285 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -2203,9 +2203,9 @@ Example response: Pre-requisite: -- You must be an administrator. +- You must be an administrator to view the activity of users with private profiles. -Get the last activity date for all users, sorted from oldest to newest. +Get the last activity date for users with public profiles, sorted from oldest to newest. The activities that update the user event timestamps (`last_activity_on` and `current_sign_in_at`) are: @@ -2215,7 +2215,7 @@ The activities that update the user event timestamps (`last_activity_on` and `cu - User using the API - User using the GraphQL API -By default, it shows the activity for all users in the last 6 months, but this can be +By default, it shows the activity for users with public profiles in the last 6 months, but this can be amended by using the `from` parameter. ```plaintext diff --git a/doc/api/vulnerabilities.md b/doc/api/vulnerabilities.md index 52a92f695bd..e16f9b244a9 100644 --- a/doc/api/vulnerabilities.md +++ b/doc/api/vulnerabilities.md @@ -224,7 +224,7 @@ POST /vulnerabilities/:id/revert | `id` | integer or string | yes | The ID of a vulnerability to revert to detected state | ```shell -curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/vulnerabilities/5/dismiss" +curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/vulnerabilities/5/revert" ``` Example response: |