Hi Pawel, Which version of Matterhorn is this? The endpoint changed recently, so this may be part of the problem.
G
On 11-06-15 07:04 AM, Pawel Fic wrote:
> I am testing Matterhorn, and I opened endpoint:
> /capture-admin/docs
>
> Then decided to try:
>
>
> Method / Path: POST /agents/{name}/capabilities
>
> Description: Set the capabilities of a given capture agent,
> registering it if it does not exist
>
>
>
>
> filled it name with: "new_agent",
> Body with:
> <<<<<<<<<<<<<<<
> <properties>
> <comment>Capabilities for the agent new_agent</comment>
> <entry key="capture.device.timezone">Europe/Warsaw</entry>
> <entry key="capture.device.timezone.offset">120</entry>
> </properties>
> <<<<<<<<<<<<<<<<<<<<
>
> Response is:
> Status: 400 (Bad Request)....
>
> Either this does not works, or I must be doing something wrong.
> I expected:
> Status: 200 (OK)
>
>
>
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>
>
> To unsubscribe please email
> [email protected]
> _______________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
