Content HUB Plugin: Add endpoint for registration

Description

Acceptance Criteria

1. Add an endpoint for communicating with the hub backend and sending the registration data
2. Must store the secret returned by the backend
3. Must display in the UI if the site is registered or not.
4. Cannot register without a site uuid.

(There is a separate issue for implementing the UI)

Design

https://preview.uxpin.com/c2a6b9068826b9da0424abaf49ea852c5d002fa4#/pages/122867958/simulate/sitemap?mode=i

Acceptance Criteria

None

Assignee

Thomas Marstrander

Reporter

Frode Petterson

Labels

Funding

None

Code reviewer

Frode Petterson

Released

None

Time tracking

6h

Sprint

Priority

Medium
Configure