Skip to content

Commit 3122239

Browse files
author
Klaas Freitag
committed
More review motivated fixes and cleanups.
1 parent e34b985 commit 3122239

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

docs/ocis/adr/0007-api-for-spaces.md

+11-18
Original file line numberDiff line numberDiff line change
@@ -66,27 +66,25 @@ The reply to both calls is either one or a list of [Drive representation objects
6666
"createdDateTime": "string (timestamp)",
6767
"description": "string",
6868
"driveType": "personal | projectSpaces | shares",
69-
"oCDriveStatus": "accepted | pending | mandatory | offline",
7069
"lastModifiedDateTime": "string (timestamp)",
7170
"name": "string",
7271
"owner": { "@odata.type": "microsoft.graph.identitySet" },
7372
"quota": { "@odata.type": "microsoft.graph.quota" },
7473
"root": { "@odata.type": "microsoft.graph.driveItem" },
7574
"webUrl": "url",
76-
"oCCoOwner": [ { "@odata.type": "microsoft.graph.identitySet" } ]
75+
"ocCoOwner": [ { "@odata.type": "microsoft.graph.identitySet" } ]
7776
}
7877
```
7978

8079
The meaning of the objects in Open Graph API context are:
8180

82-
1. **id** - a unique ID identifying the space, called Storage Space ID.
81+
1. **id** - a persistent and unique ID identifying the space, called Storage Space ID.
8382
2. **driveType** - describing the type of the space.
84-
3. **oCDriveStatus** - telling the status (*)
85-
4. **owner** - an owner object to whom the space belongs
86-
5. **quota** - quota information about this space
87-
6. **root** - the root driveItem object.
88-
7. **webUrl** - The URL to make this space visible in the browser.
89-
8. **oCCoOwner** - optional array owner objects of the co-owners of a space (*)
83+
3. **owner** - an owner object to whom the space belongs
84+
4. **quota** - quota information about this space
85+
5. **root** - the root driveItem object.
86+
6. **webUrl** - The URL to make this space visible in the browser.
87+
7. **ocCoOwner** - optional array owner objects of the co-owners of a space (*)
9088

9189
The following *driveType* values are available in the first step, but might be enhanced later:
9290

@@ -96,16 +94,11 @@ The following *driveType* values are available in the first step, but might be e
9694

9795
Other space types such as backup, hidden etc. can be added later as requested.
9896

99-
The (*) marked types are not defined in the official MS API. They are prefixed with `oC` to avoid namespace clashes.
97+
> Note: The *projectSpaces* and *shares* space are virtual spaces. They only contain other spaces, and no regular resources.
10098
101-
The following *driveStatus* values are available:
99+
The (*) marked types are not defined in the official MS API. They are prefixed with `oc` to avoid namespace clashes.
102100

103-
* **accepted**: The user has accepted the space and uses it
104-
* **pending**: The user has not yet accepted the space , but can use it after having it accepted.
105-
* **mandatory**: This is an mandatory space. Used for the personal- and shares-space. The user can not influence if it is visible or not, it is always available.
106-
* **offline**: The space is currently not available.
107-
108-
> Note: the **root** object equals a [driveItem](https://docs.microsoft.com/de-de/graph/api/resources/driveitem?view=graph-rest-1.0) and contains information about the root resource (directory) of the space.
101+
The `root` object equals a [driveItem](https://docs.microsoft.com/de-de/graph/api/resources/driveitem?view=graph-rest-1.0) and contains information about the root resource (directory) of the space.
109102

110103
This is an example object as it can be expected as `root` element. It is not complete, as not all elements will be implemented so far.
111104

@@ -128,7 +121,7 @@ This is an example object as it can be expected as `root` element. It is not com
128121

129122
Meaningful fields of the root element in the context of the Open Graph API:
130123

131-
1. **id** - a unique ID identifying the root directory node.
124+
1. **id** - a persistent and unique ID identifying the root directory node.
132125
2. **webDavUrl** - The webdav path of the top item of the space.
133126
3. **eTag** - an identifier that changes automatically if the content *or* metadata of the node or the underlying resources changes.
134127
4. **cTag** - an identifier that changes automatically if the content of the root node or of one of the underlying resources changes.

0 commit comments

Comments
 (0)