> For the complete documentation index, see [llms.txt](https://support.iafcertsearch.org/api-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.iafcertsearch.org/api-developer-guide/api-zh/api-integration/responses.md).

# 响应

### Content-Type头部

所有响应以JSON格式返回。我们通过发送`Content-Type`头部来指定此格式。

### 状态码

下面是一个包含对各种资源支持的各种状态码的描述的表格。

| 响应码 | 描述      |
| --- | ------- |
| 200 | OK      |
| 201 | 资源已创建   |
| 202 | 已接受     |
| 400 | 错误的请求   |
| 401 | 未授权     |
| 404 | 资源未找到   |
| 406 | 不可接受    |
| 422 | 无法处理的实体 |
| 429 | 请求次数过多  |
| 500 | 内部服务器错误 |

### 分页

当使用分页查询进行请求时，元数据会包含在响应中，以方便遍历数据集的前一页，当前页，第一页和最后一页。

```json
{
    "data": [
        // 响应数据 
    ],
    "meta": {
        "total_pages": 100,
        "total_rows": 2000,
        "order": "DESC",
        "order_by": "resource_field",
        "limit": 20,
        "offset": 0,
        "next_key": ""
    }
}
```
