Reputation: 2864
I generated an API key for my Rally account. Is there a REST API to retrieve my basic user information, such as name
, ObjectID
, and ObjectUUID
?
Upvotes: 1
Views: 140
Reputation: 8410
Sure, you can just read the /user
endpoint and fetch whatever fields you need. This endpoint can both be used to query for multiple users, or if just read without any parameters it will return yourself.
So, to get yourself:
GET https://rally1.rallydev.com/slm/webservice/v2.0/user?fetch=ObjectID
Or to query for users (which you're probably familiar with):
GET https://rally1.rallydev.com/slm/webservice/v2.0/user?fetch=ObjectID&query=(UserName contains "Bob")
Upvotes: 1