Podio API Documentation

Search: Search in space v2

GET /search/space/{space_id}/v2

Searches in all items, statuses, files, profiles, apps and tasks in the space. The objects will be returned sorted descending by the time the object had any update.

Usage
PHP Client
PodioSearchResult.php
PodioSearchResult::space( $space_id, $attributes = array() );
Ruby Gem
search.rb
Podio::Search.in_space( space_id, words, attributes = {} )
Parameters
space_id*
Required.
counts

True if the counts for each type of object should be returned.


Default value: false
highlights

True if the highlights for each result should be returned, false otherwise.


Default value: false
limit

The maximum number of results to return. 


Default value: 20
offset

The offset into the results to return. 


Default value: 0
query

The text to search for.

ref_type

Restrict the search to objects of the given type. Can be "item", "task", "file", "conversation", "profile" and "app"

search_fields

The list of fields to search in. Can f.ex. be used to limit the search to the "title" field.

Request { "query": The text to search for, "limit": (optional) The number of results to return; up to 20 results are returned in one call. "offset": (optional) The rank of the first search result to return (default=0),
"ref_type": The type of objects to search for. Can be one of "item", "task", "conversation", "app", "status", "file" and "profile",
"counts": True if the total counts should be returned for each ref_type }

Sandbox

Try the operation "/search/space/{space_id}/v2"

You can simulate the API request by filling out the arguments below, and press the submit button to see the response.

You need to be logged in to Podio to use the Sandbox. Login here