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.maxihost.com/team/members?filter[first_name]=stark

Case sensitive

List team members with first_name "Stark"

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

Prefix

List servers where the hostname starts with "web"

  • https://api.maxihost.com/servers?filter[hostname][prefix]=web

Suffix

List servers where the hostname ends with "arm"

  • https://api.maxihost.com/servers?filter[hostname][suffix]=arm

Contains

List projects where the name includes "workloads"

  • https://api.maxihost.com/projects?filter[name][match]=workloads