Deprecated

Alternative /api/v2/image!search
Message Use global image search with the Scope argument instead

Response [200 Ok]

Uri /api/v2/user/assets!imagesearch?start=1&count=10
UriDescription Search for user images
EndpointType UserImageSearch
Locator Image
LocatorType Objects

Timing

Total

cycles 1
objects 0
time 0.02701

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /user
  • /
  • !imagesearch

Notes

  • _multiargs does not work at this endpoint

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

Parameters

GET

Order Images by
Search Text

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/user/assets!imagesearch?start=1&count=10"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "ParameterDescription": {
            "Varchar": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)",
            "Select": "Select one option. Options should pass only the \"Value\"."
        },
        "Parameters": {
            "GET": [
                {
                    "Name": "q",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Description": "Search Text",
                    "Type": "Varchar",
                    "MIN_CHARS": 0,
                    "MAX_CHARS": 100
                },
                {
                    "Name": "Order",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": "Popular",
                    "Description": "Order Images by",
                    "Type": "Select",
                    "OPTIONS": [
                        "Popular",
                        "Oldest",
                        "Newest"
                    ],
                    "MIN_COUNT": 1,
                    "MAX_COUNT": 1
                }
            ]
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Notes": [
            "_multiargs does not work at this endpoint"
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "user"
            },
            {
                "type": "singleparam",
                "param_name": "nickname",
                "param_value": "assets",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "imagesearch"
            }
        ],
        "Deprecated": {
            "Message": "Use global image search with the Scope argument instead",
            "Alternative": "/api/v2/image!search"
        }
    },
    "Response": {
        "Uri": "/api/v2/user/assets!imagesearch?start=1&count=10",
        "Locator": "Image",
        "LocatorType": "Objects",
        "UriDescription": "Search for user images",
        "EndpointType": "UserImageSearch",
        "Pages": {
            "Total": 0,
            "Start": 1,
            "Count": 0,
            "RequestedCount": 10,
            "FirstPage": "/api/v2/user/assets!imagesearch?start=1&count=10",
            "LastPage": "/api/v2/user/assets!imagesearch?start=-9&count=10"
        },
        "Timing": {
            "Total": {
                "time": 0.02701,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}