Filtering

You can filter by most attributes. If an attribute is not supported, the API will not ignore it and will reject the request instead.

You can use the following criteria:

Simple

List team members with first_name "Stark"

  • https://api.latitude.sh/team/members?filter[first_name]=stark

Case sensitive

List team members with first_name "Stark"

  • https://api.latitude.sh/team/members?filter[first_name][eql]=Stark

Prefix

List servers where the hostname starts with "web"

  • https://api.latitude.sh/servers?filter[hostname][prefix]=web

Suffix

List servers where the hostname ends with "arm"

  • https://api.latitude.sh/servers?filter[hostname][suffix]=arm

Contains

List projects where the name includes "workloads"

  • https://api.latitude.sh/projects?filter[name][match]=workloads