We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 1: Download orb cli binary.
Step 2: extract a tar.
Step 3: add follower (orb-4 server follows orb-1 server)
./orb-cli-darwin-amd64 follower --outbox-url=https://orb-4.sandbox.trustbloc.dev/services/orb/outbox --actor=https://orb-4.sandbox.trustbloc.dev/services/orb --to=https://orb-1.sandbox.trustbloc.dev/services/orb --action=Follow --tls-systemcertpool=true --auth-token=#TOKEN
Note: replace #TOKEN with real token value
Step 4: check if follow succeeded
{ "@context": "https://www.w3.org/ns/activitystreams", "id": "https://orb-4.sandbox.trustbloc.dev/services/orb/following?page=true&page-num=0", "items": [ "https://orb-1.sandbox.trustbloc.dev/services/orb" ], "totalItems": 1, "type": "CollectionPage" }
Step 5: unfollow (orb-4 server unfollow orb-1 server)
./orb-cli-darwin-amd64 follower --outbox-url=https://orb-4.sandbox.trustbloc.dev/services/orb/outbox --actor=https://orb-4.sandbox.trustbloc.dev/services/orb --to=https://orb-1.sandbox.trustbloc.dev/services/orb --action=Undo --tls-systemcertpool=true --follow-id=#FOLLOWID --auth-token=#TOKEN
Note: replace #TOKEN with real token value Note: replace #FOLLOWID with follow id from follow command
Step 6: check if unfollow succeeded
{ "@context": "https://www.w3.org/ns/activitystreams", "id": "https://orb-4.sandbox.trustbloc.dev/services/orb/following?page=true&page-num=0", "totalItems": 0, "type": "CollectionPage" }
Step 7: add witness (orb-4 server invite orb-1 server to be witness)
./orb-cli-darwin-amd64 witness --outbox-url=https://orb-4.sandbox.trustbloc.dev/services/orb/outbox --actor=https://orb-4.sandbox.trustbloc.dev/services/orb --to=https://orb-1.sandbox.trustbloc.dev/services/orb --action=InviteWitness --tls-systemcertpool=true --auth-token=#TOKEN
Step 8: check if witness succeeded
{ "@context": "https://www.w3.org/ns/activitystreams", "id": "https://orb-4.sandbox.trustbloc.dev/services/orb/witnesses?page=true&page-num=0", "items": [ "https://orb-1.sandbox.trustbloc.dev/services/orb" ], "totalItems": 1, "type": "CollectionPage" }
Step 9: undo witness (orb-4 server undo witness orb-1 server)
./orb-cli-darwin-amd64 witness --outbox-url=https://orb-4.sandbox.trustbloc.dev/services/orb/outbox --actor=https://orb-4.sandbox.trustbloc.dev/services/orb --to=https://orb-1.sandbox.trustbloc.dev/services/orb --action=Undo --tls-systemcertpool=true --invite-witness-id=#WITNESSID --auth-token=#TOKEN
Note: replace #TOKEN with real token value Note: replace #WITNESSID with witness id from witness command
Step 10: check if undo witnesss succeeded
{ "@context": "https://www.w3.org/ns/activitystreams", "id": "https://orb-4.sandbox.trustbloc.dev/services/orb/witnesses?page=true&page-num=0", "totalItems": 0, "type": "CollectionPage" }
The text was updated successfully, but these errors were encountered:
troyronda
No branches or pull requests
Step 1: Download orb cli binary.
Step 2: extract a tar.
Step 3: add follower (orb-4 server follows orb-1 server)
Note: replace #TOKEN with real token value
Step 4: check if follow succeeded
Step 5: unfollow (orb-4 server unfollow orb-1 server)
Note: replace #TOKEN with real token value
Note: replace #FOLLOWID with follow id from follow command
Step 6: check if unfollow succeeded
Step 7: add witness (orb-4 server invite orb-1 server to be witness)
Note: replace #TOKEN with real token value
Step 8: check if witness succeeded
Step 9: undo witness (orb-4 server undo witness orb-1 server)
Note: replace #TOKEN with real token value
Note: replace #WITNESSID with witness id from witness command
Step 10: check if undo witnesss succeeded
The text was updated successfully, but these errors were encountered: