LearningRegistry/LearningRegistry — Issue #107: SWORD service publish interface inconsistent with spec
Author: wegrata
Created: 2011-10-17 17:03:02+00:00
State: open

The spec specifies the POST endpoint for SWORD should be /swordpub and that the href attribute of the collection element should be the URL of the root node. The code currently has the POST interface be at /swordservice and the href attribute also be at nodeurl/swordservice. One of 2 updates can be made

1)
The LR spec needs to be changed to have the href use nodeurl/swordpub
and the code needs to be updated to have POST to /swordservice return a 405, accept the POST as /swordpub, and return nodeurl/swordpub as the href attribute
2)
Update the LR spec so that the POST for SWORD publish goes to /swordservice and the href is set to /swordservice