Get a resource by Id and attributes in query parameters
See original GitHub issueDo you support Get API by Id and attributes in query parameters?
The main problem is that we have some requests like this from the azure user provisioning service: https://test.com/api/v1/scim/Groups/{id}?excludedAttributes=members
but I think there is no way to handle this attributes with SimpleIdServer.Scim.Api.BaseApiController
.
There is no Get method that accepts Get(string id, [FromQuery] SCIMResourceAttributes requestAttributes)
to handle this kind of request.
Based on RFC for attributes: The following attributes control which attributes SHALL be returned with a returned resource. SCIM clients MAY use one of these two OPTIONAL parameters, which MUST be supported by SCIM service providers.
Is there any way to handle this behavior?
Issue Analytics
- State:
- Created 9 months ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
REST API DESIGN - Getting a resource through REST with ...
It's almost like it's trying to imitate query parameters with path parameters. GET /users?id={id} GET /users?email={email}.
Read more >Query parameters and operators
Query parameters and operators ... To fetch a resource whose unique ID is known, you can supply the ID of the resource as...
Read more >REST API Design Best Practices for Parameter and Query ...
Where to put the parameters for APIs? Best practices for parameter and query string usage in REST APIs.
Read more >Using Query Parameters
You can use the following query parameters when calling the Get Users, Get Roles, Get Events, and Get Groups resource APIs.
Read more >REST API for Unified Inventory Management
Gets the resource that matches the specified ID. Attribute selection is enabled for all first-level attributes. Optionally, use the expand parameter to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good remark 😃. I made some modifications to pass those information into the repository. Only needed attributes are returned by the SQL statement. The same logic is used by the search operation. Pre-release package is available here:
This feature will be released next week, once the ticket #343 is fully tested 😃