mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Fix xml block syntax in admin-api Readme (#4062)
This commit is contained in:
parent
5ed1a8ad23
commit
60ea2b17ba
@ -33,6 +33,7 @@
|
|||||||
- Response: Success 200
|
- Response: Success 200
|
||||||
- Possible error responses
|
- Possible error responses
|
||||||
- ErrMethodNotAllowed
|
- ErrMethodNotAllowed
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>MethodNotAllowed</Code>
|
<Code>MethodNotAllowed</Code>
|
||||||
<Message>The specified method is not allowed against this resource.</Message>
|
<Message>The specified method is not allowed against this resource.</Message>
|
||||||
@ -42,7 +43,9 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
- ErrAdminBadCred
|
- ErrAdminBadCred
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>XMinioBadCred</Code>
|
<Code>XMinioBadCred</Code>
|
||||||
<Message>XMinioBadCred</Message>
|
<Message>XMinioBadCred</Message>
|
||||||
@ -52,7 +55,9 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
- ErrInternalError
|
- ErrInternalError
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>InternalError</Code>
|
<Code>InternalError</Code>
|
||||||
<Message>We encountered an internal error, please try again.</Message>
|
<Message>We encountered an internal error, please try again.</Message>
|
||||||
@ -62,6 +67,7 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Lock Management APIs
|
### Lock Management APIs
|
||||||
@ -71,6 +77,7 @@
|
|||||||
- Response: On success 200, json encoded response containing all locks held, for longer than duration.
|
- Response: On success 200, json encoded response containing all locks held, for longer than duration.
|
||||||
- Possible error responses
|
- Possible error responses
|
||||||
- ErrInvalidBucketName
|
- ErrInvalidBucketName
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>InvalidBucketName</Code>
|
<Code>InvalidBucketName</Code>
|
||||||
<Message>The specified bucket is not valid.</Message>
|
<Message>The specified bucket is not valid.</Message>
|
||||||
@ -80,8 +87,9 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
- ErrInvalidObjectName
|
- ErrInvalidObjectName
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>XMinioInvalidObjectName</Code>
|
<Code>XMinioInvalidObjectName</Code>
|
||||||
<Message>Object name contains unsupported characters. Unsupported characters are `^*|\"</Message>
|
<Message>Object name contains unsupported characters. Unsupported characters are `^*|\"</Message>
|
||||||
@ -91,8 +99,10 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
|
|
||||||
- ErrInvalidDuration
|
- ErrInvalidDuration
|
||||||
|
```xml
|
||||||
<Error>
|
<Error>
|
||||||
<Code>InvalidDuration</Code>
|
<Code>InvalidDuration</Code>
|
||||||
<Message>Duration provided in the request is invalid.</Message>
|
<Message>Duration provided in the request is invalid.</Message>
|
||||||
@ -102,6 +112,7 @@
|
|||||||
<RequestId>3L137</RequestId>
|
<RequestId>3L137</RequestId>
|
||||||
<HostId>3L137</HostId>
|
<HostId>3L137</HostId>
|
||||||
</Error>
|
</Error>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
* ClearLocks
|
* ClearLocks
|
||||||
|
Loading…
Reference in New Issue
Block a user