Profiles

ns
dreamful-service.fixtures
(usens:)
server stuff
{:port 3001}start-serverport?
200pingport:port => 3001status?
(function:)

Create some profiles

Also, make sure we can't register the same profile twice

clientid?
1{:id1 d8127c21-f1e1-4358-ba92-2c96ed575447}
2{:id2 192cd421-bbd9-40e9-ad9f-cf8996bc7fc4}
(dt:register)
clientexisting-idid?
3:id1 -> d8127c21-f1e1-4358-ba92-2c96ed575447invalid-request/400/Profile already exists
4:id2 -> 192cd421-bbd9-40e9-ad9f-cf8996bc7fc4invalid-request/400/Profile already exists
5{:id3 29569d09-4ad1-4cab-b04d-f267a4a5278a}
(dt:register)

Update profiles

Can we add some information to a profile?

clientfirst-namelast-nameresult?
1andrewlaisuccess
2stephenstarkeysuccess
(dt:update-profile)
user idfirst name?last name?
:id1 -> d8127c21-f1e1-4358-ba92-2c96ed575447andrewlai
:id2 -> 192cd421-bbd9-40e9-ad9f-cf8996bc7fc4stephenstarkey
(dt:get-profile client=5)

Attempt to Overwrite With Invalid Signature

Etc.

server stuff
stoppedstop-serverport:port => 3001result?
(function:)