200
Successfully returned metadata for the requested channel. Schema — OPTIONAL |
---|
status integer — OPTIONAL | data object — OPTIONALObject with channel metadata used in responses. id string — OPTIONALPossible values: 1 ≤ length ≤ 92 The channel name to perform the operation on. Must not be empty, and may contain up to 92 UTF-8 byte sequences. Prohibited characters are: , , / , \ , * , : , channel, non-printable ASCII control characters, and Unicode zero. | updated date-time — OPTIONALDate and time the object was last updated. | eTag string — OPTIONALInformation on the object's content fingerprint. NOTE: eTag from GET requests can be used alongside the If-Match HTTP header in conditional PATCH requests in users/channels' metadata APIs. This functionality is currently not supported in the membership/members' metadata APIs. | name string — OPTIONALPossible values: 1 ≤ length The channel name to perform the operation on. Max. 2,048 characters. Must not be empty or consist only of whitespace characters. | description string — OPTIONALDescription of the channel. Max. 2,048 characters. | type string — OPTIONALChannel type. Max. 50 characters. | status string — OPTIONALChannel status. Max. 50 characters. | custom object — OPTIONALJSON object of key/value pairs with supported data-types. Values must be scalar only; arrays or objects are not supported. NOTE: If you set custom fields with integer values, do not specify numbers larger than 9007199254740991 due to precision limitations in JSON implementations. For large integer values, for example PubNub timetoken values, use string values instead of integers. |
|
|
304
Requested resource has not been modified since the last retrieval. |
403
Disabled - The subscribe key doesn't have App Context API enabled. Forbidden - The client isn't authorized to perform this operation. The authorization key you provided doesn't have the required permissions for this operation. Schema — OPTIONAL |
---|
status integer — OPTIONAL | error object — OPTIONALmessage string — OPTIONALUser-facing error message. | source string — OPTIONALPossible values: [metadata , authz ] Internal source of the error. | details object[] — OPTIONALmessage string — OPTIONALA user-facing error message. | location string — OPTIONALName of the offending query string parameter, or a dot-delimited JSON path to the source of the error in the input document, if applicable. | locationType string — OPTIONALPossible values: [path , query , header , body ] |
|
|
|
404
The requested resource was not found. Schema — OPTIONAL |
---|
status integer — OPTIONAL | error object — OPTIONALmessage string — OPTIONALUser-facing error message. | source string — OPTIONALPossible values: [metadata , authz ] Internal source of the error. | details object[] — OPTIONALmessage string — OPTIONALA user-facing error message. | location string — OPTIONALName of the offending query string parameter, or a dot-delimited JSON path to the source of the error in the input document, if applicable. | locationType string — OPTIONALPossible values: [path , query , header , body ] |
|
|
|
429
Request rate limit exceeded. Schema — OPTIONAL |
---|
status integer — OPTIONAL | error object — OPTIONALmessage string — OPTIONALUser-facing error message. | source string — OPTIONALPossible values: [metadata , authz ] Internal source of the error. | details object[] — OPTIONALmessage string — OPTIONALA user-facing error message. | location string — OPTIONALName of the offending query string parameter, or a dot-delimited JSON path to the source of the error in the input document, if applicable. | locationType string — OPTIONALPossible values: [path , query , header , body ] |
|
|
|
500
An internal server error occurred. Schema — OPTIONAL |
---|
status integer — OPTIONAL | error object — OPTIONALmessage string — OPTIONALUser-facing error message. | source string — OPTIONALPossible values: [metadata , authz ] Internal source of the error. | details object[] — OPTIONALmessage string — OPTIONALA user-facing error message. | location string — OPTIONALName of the offending query string parameter, or a dot-delimited JSON path to the source of the error in the input document, if applicable. | locationType string — OPTIONALPossible values: [path , query , header , body ] |
|
|
|
503
Request processing exceeded the maximum allowed time. Schema — OPTIONAL |
---|
status integer — OPTIONAL | error object — OPTIONALmessage string — OPTIONALUser-facing error message. | source string — OPTIONALPossible values: [metadata , authz ] Internal source of the error. | details object[] — OPTIONALmessage string — OPTIONALA user-facing error message. | location string — OPTIONALName of the offending query string parameter, or a dot-delimited JSON path to the source of the error in the input document, if applicable. | locationType string — OPTIONALPossible values: [path , query , header , body ] |
|
|
|