mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-05 00:57:22 +00:00
fix 404 description + some user related fixes
This commit is contained in:
parent
4f477f4c75
commit
8528c32d6d
@ -50,8 +50,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and alert and domain exist - 200 OK.
|
||||
If alert not found or domain not found - 404 Not Found.
|
||||
If successful and alert and domain exist - 200 OK. If alert not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -50,8 +50,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and alert and files exist - 200 OK.
|
||||
If alert not found or files not found - 404 Not Found.
|
||||
If successful and alert and files exist - 200 OK. If alert not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -51,7 +51,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and alert and an IP exist - 200 OK. If alert not found or IPs not found - 404 Not Found.
|
||||
If successful and alert and an IP exist - 200 OK. If alert not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -52,8 +52,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and alert and machine exist - 200 OK.
|
||||
If alert not found or machine not found - 404 Not Found.
|
||||
If successful and alert and machine exist - 200 OK. If alert not found or machine not found - 404 Not Found.
|
||||
|
||||
## Example
|
||||
|
||||
|
@ -51,8 +51,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and alert and a user exists - 200 OK with user in the body.
|
||||
If alert not found or user not found - 404 Not Found.
|
||||
If successful and alert and a user exists - 200 OK with user in the body. If alert or user not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -58,7 +58,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful, this method returns 200 OK, and a list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) objects in the response body. If no recent alerts found - 404 Not Found.
|
||||
If successful, this method returns 200 OK, and a list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) objects in the response body.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -57,7 +57,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and domain and alert exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities. If domain or alert does not exist - 404 Not Found.
|
||||
If successful and domain exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities. If domain does not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -52,7 +52,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and domain and machine exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities. If domain or machines do not exist - 404 Not Found.
|
||||
If successful and domain exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities. If domain do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -50,8 +50,7 @@ Authorization | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and domain exists - 200 OK, with statistics object in the response body.
|
||||
If domain does not exist - 404 Not Found.
|
||||
If successful and domain exists - 200 OK, with statistics object in the response body. If domain does not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -52,8 +52,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and file exists - 200 OK with the [file](files-windows-defender-advanced-threat-protection-new.md) entity in the body.
|
||||
If file does not exist - 404 Not Found.
|
||||
If successful and file exists - 200 OK with the [file](files-windows-defender-advanced-threat-protection-new.md) entity in the body. If file does not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -55,8 +55,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and file and alert exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body.
|
||||
If file or alerts do not exist - 404 Not Found.
|
||||
If successful and file exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body. If file do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -53,8 +53,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and file and machines exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body.
|
||||
If file or machines do not exist - 404 Not Found.
|
||||
If successful and file exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body. If file do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -54,8 +54,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and file exists - 200 OK with statistical data in the body.
|
||||
If file do not exist - 404 Not Found.
|
||||
If successful and file exists - 200 OK with statistical data in the body. If file do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -53,8 +53,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and IP and alert exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body.
|
||||
If IP and alerts do not exist - 404 Not Found.
|
||||
If successful and IP exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body. If IP do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -53,8 +53,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and IP and machines exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body.
|
||||
If IP or machines do not exist - 404 Not Found.
|
||||
If successful and IP exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body. If IP do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -51,8 +51,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and machine and user exist - 200 OK with list of [user](user-windows-defender-advanced-threat-protection-new.md) entities in the body
|
||||
If no machine found or no users found - 404 Not Found.
|
||||
If successful and machine exist - 200 OK with list of [user](user-windows-defender-advanced-threat-protection-new.md) entities in the body. If machine was not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -53,7 +53,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and machine and alert exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body. If no machine or no alerts found - 404 Not Found.
|
||||
If successful and machine exists - 200 OK with list of [alert](alerts-windows-defender-advanced-threat-protection-new.md) entities in the body. If machine was not found - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -21,7 +21,7 @@ ms.date: 12/08/2017
|
||||
|
||||
- Windows Defender Advanced Threat Protection (Windows Defender ATP)
|
||||
|
||||
Retrieve a User entity by key (user name or domain\user).
|
||||
Retrieve a User entity by key (user name).
|
||||
|
||||
## Permissions
|
||||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Use Windows Defender ATP APIs](apis-intro.md)
|
||||
@ -58,7 +58,7 @@ Here is an example of the request.
|
||||
[!include[Improve request performance](improverequestperformance-new.md)]
|
||||
|
||||
```
|
||||
GET https://api.securitycenter.windows.com/api/users/user1@contoso.com
|
||||
GET https://api.securitycenter.windows.com/api/users/user1
|
||||
Content-type: application/json
|
||||
```
|
||||
|
||||
@ -72,7 +72,7 @@ HTTP/1.1 200 OK
|
||||
Content-type: application/json
|
||||
{
|
||||
"@odata.context": "https://api.securitycenter.windows.com/api/$metadata#Users/$entity",
|
||||
"id": "user1@contoso.com",
|
||||
"id": "user1",
|
||||
"firstSeen": "2018-08-02T00:00:00Z",
|
||||
"lastSeen": "2018-08-04T00:00:00Z",
|
||||
"mostPrevalentMachineId": null,
|
||||
|
@ -54,7 +54,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and user and alert exist - 200 OK. If user or alerts do not exist - 404 Not Found.
|
||||
If successful and user exist - 200 OK. If the user do not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
@ -55,7 +55,7 @@ Authorization | String | Bearer {token}. **Required**.
|
||||
Empty
|
||||
|
||||
## Response
|
||||
If successful and machines exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body. If user or machines does not exist - 404 Not Found.
|
||||
If successful and user exists - 200 OK with list of [machine](machine-windows-defender-advanced-threat-protection-new.md) entities in the body. If user does not exist - 404 Not Found.
|
||||
|
||||
|
||||
## Example
|
||||
|
Loading…
x
Reference in New Issue
Block a user