A Space can be defined as a namespace for stored content. It is created locally, offline, and associated with a cryptographic key pair (identified by the did:key of the public key). Afterwards, a space MAY be registered with a web3.storage account and providers MAY be added to the space.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC2119.
Get information about a given space, such as registered providers.
did:key:zAliceAgent
invokesspace/info
capability provided bydid:web:web3.storage
{
"iss": "did:key:zAliceAgent",
"aud": "did:web:web3.storage",
"att": [
{
"with": "did:key:zAlice",
"can": "space/info"
}
],
"prf": [],
"sig": "..."
}
{
"ran": "bafy...spaceInfo",
"out": {
"error": {
"name": "SpaceUnknown"
}
}
}
{
"ran": "bafy...spaceInfo",
"out": {
"ok": {
"did": "did:key:zAlice",
"providers": [
"did:web:free.web3.storage"
]
}
}
}