Skip to content
Vladislav Trotsenko edited this page Sep 26, 2019 · 14 revisions

Global nested operations

Operation Description HTTP request example
Api::V1::Lib::Operation::Filtering Provides JSON API filtering with all_filters as default matcher GET /users?filter[email-eq][email protected]&filter[name-cont]=son&match=any_filters
Api::V1::Lib::Operation::Sorting Provides JSON API sorting GET /users?sort=name,-age
Api::V1::Lib::Operation::Inclusion Provides JSON API inclusion of related resources. Dot-separated relationship path supporting not implemented at this time GET /users?include=team,organization
Api::V1::Lib::Operation::Pagination Provides JSON API pagination with offset strategy. Accepts AciveRelation or Array as collection. By default returns 25 items per page GET /users?page[number]=1&page[size]=1

Api::V1::Users nested operations

Operation Description
Api::V1::Users::Lib::Operation::DecryptEmailToken Sets model from decrypted jwt email token payload
Api::V1::Users::Lib::Operation::CheckEmailTokenRedisEquality Checks jwt email token redis equality
Clone this wiki locally