This repository was archived by the owner on Feb 7, 2020. It is now read-only.
  
  
  
  
  
Description
The 'promote' function does not work unless the service being promoted is a member of an organization. In this case, the POST body to https://api.mashery.com/v3/rest/services contains the full object:
"organization":{"created":"2018-08-22T15:59:52.000+0000","updated":"2018-08-22T15:59:52.000+0000","description":"","name":"Acme","parent":null,"id":"be40d271-2af8-4b86-a0f1-f6dfeb42e6f7"}
However, if there is no organization then it defaults to null:
"organization":null
This does not seem to be valid and causes an error. Removing "organization" completely in these cases does work.