Hello.
This is a multipart question.
1. If an API resource has several relations with another resources, f.e. ResourceSpecification and Party. ResourceSpecification contains array of PartyRoleRef, with an uniquie ID of a Party.
- How to remove a specific reference to a Party? I cannot delete it by URI, because the ID relates to the Party, but not to the reference.
- If I patch the ResourceSpecification and provide an array of RelatedPartyRefs whout the RelatedPartyRef I want to remove - should I specify all attributes of other RelatedPartyRefs, or IDs only?
2. In "TMF634 Resource Catalog Management API REST Specification" ResourceSpecification can have 0..* ResourceSpecCharacteristics. However, ResourceSpecCharacteristic doesn't have any keys.
- How can I address a specific ResourceSpecCharacteristic via GET? I expected something like GET /ResourceSpecification/123/resourceSpecCharacteristic/456, but RSC doesn't have any IDs.
- According to resource model of the API, ResourceSpecCharacteristic instance belongs to a specific instance of ResourceSpecification. It means that if I want to have same characteristic in different specifications, I have to redefine such characteristic for every specification. For example, "operating system" characteristic can present in many specifications - for mobile phones, routers, VDS, etc. But, I need to be able specify different set of values in different specification for this characteristic. What entity types should I choose to achieve this?
------------------------------
Sergey Gusev
Mobile TeleSystems OJSC
------------------------------