Thanks David.
That helped.
What I did was the following.
1.
https://rally1.rallydev.com/slm/webservice/v2.0/workspace/
to get the workspace _ref atribute
2.
then the _ref= https://rally1.rallydev.com/slm/webservice/v2.0/workspace/{WorkspaceID}
to get the _ref to TypeDefinitions
3.
then the _ref=https://rally1.rallydev.com/slm/webservice/v2.0/Workspace/{WorkspaceID}/TypeDefinitions
but better to modify it to
https://rally1.rallydev.com/slm/webservice/v2.0/Workspace/{WorkspaceID}/TypeDefinitions?&fetch=true&query=(Name%20=%20Defect)
to get the Defect object definition ID and _ref to Attribute Definition.
4.
then the _ref=https://rally1.rallydev.com/slm/webservice/v2.0/TypeDefinition/{DefectObjID}/Attributes
but better to modify it to
https://rally1.rallydev.com/slm/webservice/v2.0/TypeDefinition/{DefectObjID}/Attributes?&fetch=true&query=(Name%20=%20%22{AttributeName}%22)
to get AllowedValues _ref for a given AttributeID.
5.
then finally the _ref=https://rally1.rallydev.com/slm/webservice/v2.0/AttributeDefinition/{AttributeID}/AllowedValues
to get all Allowed values for a given Attribute.
Seems like a hell but the first three steps can be skipped and repeat only steps 4 and 5 while knowing the DefectObjID and Attribute Names.
Thank you!
Have a good day.
Petr