Through these endpoints, you can query the entire system and retrieve blocks, users, and channels whose search index matches your query.
term | (String) | A string representation of your search query |
users | (Array) | An array of the users that match your search query |
channels | (Array) | An array of the channels that match your search query |
blocks | (Array) | An array of the blocks that match your search query |
total_pages | (Integer) | If pagination is used, how many total pages there are in your request |
current_page | (Integer) | If pagination is used, page requested |
per | (Integer) | If pagination is used, items per page requested |
Resource URL:
http://api.are.na/v2/search?q=:query
Example Request:
GET http://api.are.na/v2/search?q=art
Performs a search
HTTP method: GET
Pagination: Yes
Requires authentication: No
Resource URL:
http://api.are.na/v2/search/users?q=:query
Example Request:
GET http://api.are.na/v2/search/users?q=dan
Performs a search
HTTP method: GET
Pagination: Yes
Requires authentication: No
Resource URL:
http://api.are.na/v2/search/channels?q=:query
Example Request:
GET http://api.are.na/v2/search/channels?q=arena
Performs a search
HTTP method: GET
Pagination: Yes
Requires authentication: No
Resource URL:
http://api.are.na/v2/search/blocks?q=:query
Example Request:
GET http://api.are.na/v2/search/blocks?q=painting
Performs a search
HTTP method: GET
Pagination: Yes
Requires authentication: No