/courses/{course}/contacts?type={contact_type}
Collection/Resource/Sub-Collection?Query
Return a modified collection based on the query parameter's value.
On each newly added query parameter, evaluate if it should be structured as a sub-collection in the URI.
Query parameters are rarely used to modify the newly added resource or change the endpoint's behaviour.
Don't pass query parameters in POST requests. Pass data fields as POST parameters instead of query parameters.
This is very uncommon and usually not recommended.
Query parameters are rarely used to modify the newly added resource or change the endpoint's behaviour.
Don't pass query parameters in PUT requests. Pass data fields as PUT parameters instead of query parameters.
This is uncommon and not recommended.
Query parameters are used to modify the newly added resource or change the endpoint's behaviour.
This would imply modifying a subset of data matching the query.
This is uncommon and not recommended because it's difficult to interpret what the endpoint is doing based on the URI alone.
Deletes all entities that match the query parameter.
Use with care.
Last updated