Skip to content

Conversation

@rohanjadvani
Copy link
Contributor

  • Re-factor Directory Endpoint to Directory
  • Drop _id from Directory Sync kwargs
  • Uses /directory_users instead of /directories/:id/users
  • Uses /directory_groups instead of /directories/:id/groups
  • Remove retrieving Directory Users Groups

Copy link
Contributor

@henrylamchan henrylamchan left a comment

Choose a reason for hiding this comment

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

Code looks good. Had one question about the directories and directory_users endpoints

)

def get_user(self, directory_endpoint_id, directory_user_id):
def get_user(self, directory, directory_user):
Copy link
Contributor

Choose a reason for hiding this comment

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

I have no in depth knowledge of the app side changes or dsync in general but... is getting a user not doable via the directory_users endpoint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You definitely can, but the directory_users endpoint gives back a paginated list. I think it's still good to have a way to retrieve a single record.

@rohanjadvani rohanjadvani merged commit 2107ce5 into master Apr 22, 2020
@rohanjadvani rohanjadvani deleted the rohanjadvani/rename-directory-endpoints branch April 22, 2020 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants