Skip to content

Conversation

@rolodato
Copy link
Contributor

This adds the GET /api/v1/identities endpoint, which accepts only an identifier via query parameters and no traits. It is used by some SDKs (example: JS) when traits are not being used.

Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with minor typing-related remarks.

rolodato and others added 2 commits December 19, 2024 10:32
Co-authored-by: Kim Gustyr <[email protected]>
Co-authored-by: Kim Gustyr <[email protected]>
@rolodato rolodato merged commit 96a0b49 into main Dec 19, 2024
2 checks passed
@rolodato rolodato deleted the feat/get-identities-endpoint branch December 19, 2024 13:41
Comment on lines +284 to +285
assert response.status_code == 200
assert data["traits"] == []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add an assert on the flags here as well.

@rolodato rolodato restored the feat/get-identities-endpoint branch December 19, 2024 13:44
@rolodato rolodato mentioned this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants