UNPKG

@chuxingpay/basic

Version:

package contains general json data such as currency codes, bed types, facility type, bank list, branch/group list etc.

380 lines 15.5 kB
[ { "code": 100, "name": "继续", "nameEn": "Continue", "description": "This interim response indicates that everything so far is OK and that the client should continue the request, or ignore the response if the request is already finished." }, { "code": 101, "name": "切换协议", "nameEn": "Switching Protocol", "description": "This code is sent in response to an Upgrade request header from the client, and indicates the protocol the server is switching to." }, { "code": 102, "name": "请求正在处理", "nameEn": "Processing", "description": "This code indicates that the server has received and is processing the request, but no response is available yet." }, { "code": 103, "name": "预加载资源", "nameEn": "Early Hints", "description": "This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response." }, { "code": 200, "name": "请求成功", "nameEn": "OK", "description": "The request has succeeded." }, { "code": 201, "name": "资源已创建", "nameEn": "Created", "description": "The request has succeeded and a new resource has been created as a result.This is typically the response sent after POST requests, or some PUT requests." }, { "code": 202, "name": "请求已接受", "nameEn": "Accepted", "description": "The request has been received but not yet acted upon. It is noncommittal, since there is no way in HTTP to later send an asynchronous response indicating the outcome of the request. It is intended for cases where another process or server handles the request, or for batch processing." }, { "code": 203, "name": "转载", "nameEn": "Non-Authoritative Information", "description": "This response code means the returned meta-information is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy. This is mostly used for mirrors or backups of another resource. Except for that specific case, the '200 OK' response is preferred to this status." }, { "code": 204, "name": "无内容", "nameEn": "No Content", "description": "There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones." }, { "code": 205, "name": "内容重置", "nameEn": "Reset Content", "description": "Tells the user-agent to reset the document which sent this request." }, { "code": 206, "name": "断点续传", "nameEn": "Partial Content", "description": "This response code is used when the Range header is sent from the client to request only part of a resource." }, { "code": 207, "name": "多资源", "nameEn": "Multi-Status", "description": "Conveys information about multiple resources, for situations where multiple status codes might be appropriate." }, { "code": 208, "name": "已报告", "nameEn": "Already Reported", "description": "Used inside a <dav:propstat> response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection." }, { "code": 226, "name": "资源请求完成", "nameEn": "IM Used", "description": "The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance." }, { "code": 300, "name": "多资源重定向", "nameEn": "Multiple Choice", "description": "The request has more than one possible response. The user-agent or user should choose one of them. (There is no standardized way of choosing one of the responses, but HTML links to the possibilities are recommended so the user can pick.)" }, { "code": 301, "name": "资源已永久移动到新位置", "nameEn": "Moved Permanently", "description": "The URL of the requested resource has been changed permanently. The new URL is given in the response." }, { "code": 302, "name": "资源临时响应", "nameEn": "Found", "description": "This response code means that the URI of requested resource has been changed temporarily. Further changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests." }, { "code": 303, "name": "参见其他资源", "nameEn": "See Other", "description": "The server sent this response to direct the client to get the requested resource at another URI with a GET request." }, { "code": 304, "name": "资源未修改", "nameEn": "Not Modified", "description": "This is used for caching purposes. It tells the client that the response has not been modified, so the client can continue to use the same cached version of the response." }, { "code": 305, "name": "请使用指定代理", "nameEn": "Use Proxy", "description": "Defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy." }, { "code": 306, "name": "未使用", "nameEn": "unused", "description": "This response code is no longer used; it is just reserved. It was used in a previous version of the HTTP/1.1 specification." }, { "code": 307, "name": "资源临时转移", "nameEn": "Temporary Redirect", "description": "The server sends this response to direct the client to get the requested resource at another URI with same method that was used in the prior request." }, { "code": 308, "name": "资源永久转移", "nameEn": "Permanent Redirect", "description": "This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. " }, { "code": 400, "name": "请求参数有误", "nameEn": "Bad Request", "description": "The server could not understand the request due to invalid syntax." }, { "code": 401, "name": "请求需要用户验证", "nameEn": "Unauthorized", "description": "Although the HTTP standard specifies 'unauthorized', semantically this response means 'unauthenticated'. That is, the client must authenticate itself to get the requested response." }, { "code": 402, "name": "资源需要付费", "nameEn": "Payment Required", "description": "This response code is reserved for future use. The initial aim for creating this code was using it for digital payment systems, however this status code is used very rarely and no standard convention exists." }, { "code": 403, "name": "请求拒绝执行", "nameEn": "Forbidden", "description": "The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the client's identity is known to the server." }, { "code": 404, "name": "资源未找到", "nameEn": "Not Found", "description": "The server can not find the requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist." }, { "code": 405, "name": "请求方法被禁止", "nameEn": "Method Not Allowed", "description": "The request method is known by the server but has been disabled and cannot be used." }, { "code": 406, "name": "请求无法接受", "nameEn": "Not Acceptable", "description": "This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content that conforms to the criteria given by the user agent." }, { "code": 407, "name": "请求需要代理服务器上进行身份验证", "nameEn": "Proxy Authentication Required", "description": "This is similar to 401 but authentication is needed to be done by a proxy." }, { "code": 408, "name": "请求超时", "nameEn": "Request Timeout", "description": "This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. " }, { "code": 409, "name": "资源冲突", "nameEn": "Conflict", "description": "This response is sent when a request conflicts with the current state of the server." }, { "code": 410, "name": "资源永久不可用", "nameEn": "Gone", "description": "This response is sent when the requested content has been permanently deleted from server, with no forwarding address." }, { "code": 411, "name": "报头缺少Content-Length", "nameEn": "Length Required", "description": "Server rejected the request because the Content-Length header field is not defined and the server requires it." }, { "code": 412, "name": "先决条件未满足", "nameEn": "Precondition Failed", "description": "The client has indicated preconditions in its headers which the server does not meet." }, { "code": 413, "name": "请求信息过载", "nameEn": "Payload Too Large", "description": "Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field." }, { "code": 414, "name": "URI过长", "nameEn": "URI Too Long", "description": "The URI requested by the client is longer than the server is willing to interpret." }, { "code": 415, "name": "媒体格式不支持", "nameEn": "Unsupported Media Type", "description": "The media format of the requested data is not supported by the server, so the server is rejecting the request." }, { "code": 416, "name": "报头Range不再当前资源的可用范围内", "nameEn": "Range Not Satisfiable", "description": "The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data." }, { "code": 417, "name": "无法满足请求期望值", "nameEn": "Expectation Failed", "description": "This response code means the expectation indicated by the Expect request header field can't be met by the server." }, { "code": 418, "name": "服务器拒绝尝试用 ‘茶壶冲泡咖啡’", "nameEn": "I'm a teapot", "description": "The server refuses the attempt to brew coffee with a teapot." }, { "code": 421, "name": "资源未配置", "nameEn": "Misdirected Request", "description": "The request was directed at a server that is not able to produce a response. " }, { "code": 422, "name": "语义错误", "nameEn": "Unprocessable Entity", "description": "The request was well-formed but was unable to be followed due to semantic errors." }, { "code": 423, "name": "资源被锁定", "nameEn": "Locked", "description": "The resource that is being accessed is locked." }, { "code": 424, "name": "依赖请求失败", "nameEn": "Failed Dependency", "description": "The request failed due to failure of a previous request." }, { "code": 425, "name": "重播风险", "nameEn": "Too Early", "description": "Indicates that the server is unwilling to risk processing a request that might be replayed." }, { "code": 426, "name": "协议升级", "nameEn": "Upgrade Required", "description": "The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol." }, { "code": 428, "name": "需满足先决条件", "nameEn": "Precondition Required", "description": "The origin server requires the request to be conditional. This response is intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict." }, { "code": 429, "name": "限制请求速率", "nameEn": "Too Many Requests", "description": "The user has sent too many requests in a given amount of time 'rate limiting'" }, { "code": 431, "name": "请求头字段太大", "nameEn": "Request Header Fields Too Large", "description": "The server is unwilling to process the request because its header fields are too large. The request may be resubmitted after reducing the size of the request header fields." }, { "code": 451, "name": "请求非法资源", "nameEn": "Unavailable For Legal Reasons", "description": "The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government." }, { "code": 500, "name": "服务器故障", "nameEn": "Internal Server Error", "description": "The server has encountered a situation it doesn't know how to handle." }, { "code": 501, "name": "请求无法被处理", "nameEn": "Not Implemented", "description": "The request method is not supported by the server and cannot be handled." }, { "code": 502, "name": "网关异常", "nameEn": "Bad Gateway", "description": "This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response." }, { "code": 503, "name": "资源未准备好", "nameEn": "Service Unavailable", "description": "The server is not ready to handle the request." }, { "code": 504, "name": "网关超时", "nameEn": "Gateway Timeout", "description": "This error response is given when the server is acting as a gateway and cannot get a response in time." }, { "code": 505, "name": "HTTP协议版本不支持", "nameEn": "HTTP Version Not Supported", "description": "The HTTP version used in the request is not supported by the server." }, { "code": 506, "name": "内部配置错误", "nameEn": "Variant Also Negotiates", "description": "The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process." }, { "code": 507, "name": "存储空间不足", "nameEn": "Insufficient Storage", "description": "The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request." }, { "code": 508, "name": "检测到无限循环", "nameEn": "Loop Detected", "description": "The server detected an infinite loop while processing the request." }, { "code": 510, "name": "客户端需要对请求进一步扩展", "nameEn": "Not Extended", "description": "Further extensions to the request are required for the server to fulfil it." }, { "code": 511, "name": "客户端需要进行身份验证", "nameEn": "Network Authentication Required", "description": "The 511 status code indicates that the client needs to authenticate to gain network access." } ]