mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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
|
||||
- Possible error responses
|
||||
- ErrMethodNotAllowed
|
||||
```xml
|
||||
<Error>
|
||||
<Code>MethodNotAllowed</Code>
|
||||
<Message>The specified method is not allowed against this resource.</Message>
|
||||
@ -42,7 +43,9 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
```
|
||||
- ErrAdminBadCred
|
||||
```xml
|
||||
<Error>
|
||||
<Code>XMinioBadCred</Code>
|
||||
<Message>XMinioBadCred</Message>
|
||||
@ -52,7 +55,9 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
```
|
||||
- ErrInternalError
|
||||
```xml
|
||||
<Error>
|
||||
<Code>InternalError</Code>
|
||||
<Message>We encountered an internal error, please try again.</Message>
|
||||
@ -62,6 +67,7 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
```
|
||||
|
||||
|
||||
### Lock Management APIs
|
||||
@ -71,6 +77,7 @@
|
||||
- Response: On success 200, json encoded response containing all locks held, for longer than duration.
|
||||
- Possible error responses
|
||||
- ErrInvalidBucketName
|
||||
```xml
|
||||
<Error>
|
||||
<Code>InvalidBucketName</Code>
|
||||
<Message>The specified bucket is not valid.</Message>
|
||||
@ -80,8 +87,9 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
|
||||
```
|
||||
- ErrInvalidObjectName
|
||||
```xml
|
||||
<Error>
|
||||
<Code>XMinioInvalidObjectName</Code>
|
||||
<Message>Object name contains unsupported characters. Unsupported characters are `^*|\"</Message>
|
||||
@ -91,8 +99,10 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
```
|
||||
|
||||
- ErrInvalidDuration
|
||||
```xml
|
||||
<Error>
|
||||
<Code>InvalidDuration</Code>
|
||||
<Message>Duration provided in the request is invalid.</Message>
|
||||
@ -102,6 +112,7 @@
|
||||
<RequestId>3L137</RequestId>
|
||||
<HostId>3L137</HostId>
|
||||
</Error>
|
||||
```
|
||||
|
||||
|
||||
* ClearLocks
|
||||
|
Loading…
Reference in New Issue
Block a user