获取当前登录用户的上传图片列表,
Request
HTTP request
GET https://www.featapi.com/api/user/user-image/
Parameters
| Name | Value | Desc | Notes | 
|---|---|---|---|
| 必填参数 | |||
| uid | integer | 用户的uid。根据传入的uid参数,返回对应用户的图片资源。 | |
| 可选参数 | |||
| tags__contains | string | 一个或多个关键字,以`,`(逗号)分隔。关键字以AND关系形式查询tags返回图片资源。 |  | 
| tags__overlap | string | 一个或多个关键字,以`,`(逗号)分隔。关键字以OR关系形式查询tags返回图片资源。 |  | 
Authorization
无
Response
查询请求成功后,返回图片资源列表。HTTP状态码为200。以下是查询参数的使用范例:
tags__contains范例:?uid=7710697714770&tags__contains=myphoto,travelling
{
    "data": [
        {
            "id": 1,
            "user": 7710697714770,
            "img": "http://localhost:8000/media/7710697714770/UserImage/test1.jpeg",
            "img_height": 210,
            "img_width": 288,
            "create_time": "2022-03-18T03:28:47.426891Z",
            "delete_time": null,
            "tags": [
                "myphoto", "travelling", "living"
            ]
        },
        {
            "id": 2,
            "user": 7710697714770,
            "img": "http://localhost:8000/media/7710697714770/UserImage/test2.jpeg",
            "img_height": 300,
            "img_width": 300,
            "create_time": "2022-03-18T03:28:05.140103Z",
            "delete_time": null,
            "tags": [
                "myphoto", "travelling", "Guangzhou"
            ]
        }
    ]
}tags__overlap范例:?uid=7710697714770&tags__overlap=myphoto,animal
{
    "data": [
        {
            "id": 1,
            "user": 7710697714770,
            "img": "http://localhost:8000/media/7710697714770/UserImage/test1.jpeg",
            "img_height": 210,
            "img_width": 288,
            "create_time": "2021-12-18T03:28:47.426891Z",
            "delete_time": null,
            "tags": [
                "myphoto", "travelling", "living"
            ]
        },
        {
            "id": 2,
            "user": 7710697714770,
            "img": "http://localhost:8000/media/7710697714770/UserImage/test2.jpeg",
            "img_height": 300,
            "img_width": 300,
            "create_time": "2022-01-18T03:28:05.140103Z",
            "delete_time": null,
            "tags": [
                "myphoto", "travelling", "Guangzhou"
            ]
        },
        {
            "id": 3,
            "user": 7710697714770,
            "img": "http://localhost:8000/media/7710697714770/UserImage/test3.jpeg",
            "img_height": 500,
            "img_width": 500,
            "create_time": "2021-03-18T03:28:05.140103Z",
            "delete_time": null,
            "tags": [
                "zoo", "animal", "tiger"
            ]
        }
    ]
}