registry_index_spec.rst 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. :title: Registry Documentation
  2. :description: Documentation for docker Registry and Registry API
  3. :keywords: docker, registry, api, index
  4. .. _registryindexspec:
  5. =====================
  6. Registry & Index Spec
  7. =====================
  8. .. contents:: Table of Contents
  9. 1. The 3 roles
  10. ===============
  11. 1.1 Index
  12. ---------
  13. The Index is responsible for centralizing information about:
  14. - User accounts
  15. - Checksums of the images
  16. - Public namespaces
  17. The Index has different components:
  18. - Web UI
  19. - Meta-data store (comments, stars, list public repositories)
  20. - Authentication service
  21. - Tokenization
  22. The index is authoritative for those information.
  23. We expect that there will be only one instance of the index, run and managed by dotCloud.
  24. 1.2 Registry
  25. ------------
  26. - It stores the images and the graph for a set of repositories
  27. - It does not have user accounts data
  28. - It has no notion of user accounts or authorization
  29. - It delegates authentication and authorization to the Index Auth service using tokens
  30. - It supports different storage backends (S3, cloud files, local FS)
  31. - It doesn’t have a local database
  32. - It will be open-sourced at some point
  33. We expect that there will be multiple registries out there. To help to grasp the context, here are some examples of registries:
  34. - **sponsor registry**: such a registry is provided by a third-party hosting infrastructure as a convenience for their customers and the docker community as a whole. Its costs are supported by the third party, but the management and operation of the registry are supported by dotCloud. It features read/write access, and delegates authentication and authorization to the Index.
  35. - **mirror registry**: such a registry is provided by a third-party hosting infrastructure but is targeted at their customers only. Some mechanism (unspecified to date) ensures that public images are pulled from a sponsor registry to the mirror registry, to make sure that the customers of the third-party provider can “docker pull” those images locally.
  36. - **vendor registry**: such a registry is provided by a software vendor, who wants to distribute docker images. It would be operated and managed by the vendor. Only users authorized by the vendor would be able to get write access. Some images would be public (accessible for anyone), others private (accessible only for authorized users). Authentication and authorization would be delegated to the Index. The goal of vendor registries is to let someone do “docker pull basho/riak1.3” and automatically push from the vendor registry (instead of a sponsor registry); i.e. get all the convenience of a sponsor registry, while retaining control on the asset distribution.
  37. - **private registry**: such a registry is located behind a firewall, or protected by an additional security layer (HTTP authorization, SSL client-side certificates, IP address authorization...). The registry is operated by a private entity, outside of dotCloud’s control. It can optionally delegate additional authorization to the Index, but it is not mandatory.
  38. .. note::
  39. Mirror registries and private registries which do not use the Index don’t even need to run the registry code. They can be implemented by any kind of transport implementing HTTP GET and PUT. Read-only registries can be powered by a simple static HTTP server.
  40. .. note::
  41. The latter implies that while HTTP is the protocol of choice for a registry, multiple schemes are possible (and in some cases, trivial):
  42. - HTTP with GET (and PUT for read-write registries);
  43. - local mount point;
  44. - remote docker addressed through SSH.
  45. The latter would only require two new commands in docker, e.g. “registryget” and “registryput”, wrapping access to the local filesystem (and optionally doing consistency checks). Authentication and authorization are then delegated to SSH (e.g. with public keys).
  46. 1.3 Docker
  47. ----------
  48. On top of being a runtime for LXC, Docker is the Registry client. It supports:
  49. - Push / Pull on the registry
  50. - Client authentication on the Index
  51. 2. Workflow
  52. ===========
  53. 2.1 Pull
  54. --------
  55. .. image:: /static_files/docker_pull_chart.png
  56. 1. Contact the Index to know where I should download “samalba/busybox”
  57. 2. Index replies:
  58. a. “samalba/busybox” is on Registry A
  59. b. here are the checksums for “samalba/busybox” (for all layers)
  60. c. token
  61. 3. Contact Registry A to receive the layers for “samalba/busybox” (all of them to the base image). Registry A is authoritative for “samalba/busybox” but keeps a copy of all inherited layers and serve them all from the same location.
  62. 4. registry contacts index to verify if token/user is allowed to download images
  63. 5. Index returns true/false lettings registry know if it should proceed or error out
  64. 6. Get the payload for all layers
  65. It’s possible to run docker pull \https://<registry>/repositories/samalba/busybox. In this case, docker bypasses the Index. However the security is not guaranteed (in case Registry A is corrupted) because there won’t be any checksum checks.
  66. Currently registry redirects to s3 urls for downloads, going forward all downloads need to be streamed through the registry. The Registry will then abstract the calls to S3 by a top-level class which implements sub-classes for S3 and local storage.
  67. Token is only returned when the 'X-Docker-Token' header is sent with request.
  68. Basic Auth is required to pull private repos. Basic auth isn't required for pulling public repos, but if one is provided, it needs to be valid and for an active account.
  69. API (pulling repository foo/bar):
  70. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  71. 1. (Docker -> Index) GET /v1/repositories/foo/bar/images
  72. **Headers**:
  73. Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
  74. X-Docker-Token: true
  75. **Action**:
  76. (looking up the foo/bar in db and gets images and checksums for that repo (all if no tag is specified, if tag, only checksums for those tags) see part 4.4.1)
  77. 2. (Index -> Docker) HTTP 200 OK
  78. **Headers**:
  79. - Authorization: Token signature=123abc,repository=”foo/bar”,access=write
  80. - X-Docker-Endpoints: registry.docker.io [, registry2.docker.io]
  81. **Body**:
  82. Jsonified checksums (see part 4.4.1)
  83. 3. (Docker -> Registry) GET /v1/repositories/foo/bar/tags/latest
  84. **Headers**:
  85. Authorization: Token signature=123abc,repository=”foo/bar”,access=write
  86. 4. (Registry -> Index) GET /v1/repositories/foo/bar/images
  87. **Headers**:
  88. Authorization: Token signature=123abc,repository=”foo/bar”,access=read
  89. **Body**:
  90. <ids and checksums in payload>
  91. **Action**:
  92. ( Lookup token see if they have access to pull.)
  93. If good:
  94. HTTP 200 OK
  95. Index will invalidate the token
  96. If bad:
  97. HTTP 401 Unauthorized
  98. 5. (Docker -> Registry) GET /v1/images/928374982374/ancestry
  99. **Action**:
  100. (for each image id returned in the registry, fetch /json + /layer)
  101. .. note::
  102. If someone makes a second request, then we will always give a new token, never reuse tokens.
  103. 2.2 Push
  104. --------
  105. .. image:: /static_files/docker_push_chart.png
  106. 1. Contact the index to allocate the repository name “samalba/busybox” (authentication required with user credentials)
  107. 2. If authentication works and namespace available, “samalba/busybox” is allocated and a temporary token is returned (namespace is marked as initialized in index)
  108. 3. Push the image on the registry (along with the token)
  109. 4. Registry A contacts the Index to verify the token (token must corresponds to the repository name)
  110. 5. Index validates the token. Registry A starts reading the stream pushed by docker and store the repository (with its images)
  111. 6. docker contacts the index to give checksums for upload images
  112. .. note::
  113. **It’s possible not to use the Index at all!** In this case, a deployed version of the Registry is deployed to store and serve images. Those images are not authenticated and the security is not guaranteed.
  114. .. note::
  115. **Index can be replaced!** For a private Registry deployed, a custom Index can be used to serve and validate token according to different policies.
  116. Docker computes the checksums and submit them to the Index at the end of the push. When a repository name does not have checksums on the Index, it means that the push is in progress (since checksums are submitted at the end).
  117. API (pushing repos foo/bar):
  118. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  119. 1. (Docker -> Index) PUT /v1/repositories/foo/bar/
  120. **Headers**:
  121. Authorization: Basic sdkjfskdjfhsdkjfh==
  122. X-Docker-Token: true
  123. **Action**::
  124. - in index, we allocated a new repository, and set to initialized
  125. **Body**::
  126. (The body contains the list of images that are going to be pushed, with empty checksums. The checksums will be set at the end of the push)::
  127. [{“id”: “9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f”}]
  128. 2. (Index -> Docker) 200 Created
  129. **Headers**:
  130. - WWW-Authenticate: Token signature=123abc,repository=”foo/bar”,access=write
  131. - X-Docker-Endpoints: registry.docker.io [, registry2.docker.io]
  132. 3. (Docker -> Registry) PUT /v1/images/98765432_parent/json
  133. **Headers**:
  134. Authorization: Token signature=123abc,repository=”foo/bar”,access=write
  135. 4. (Registry->Index) GET /v1/repositories/foo/bar/images
  136. **Headers**:
  137. Authorization: Token signature=123abc,repository=”foo/bar”,access=write
  138. **Action**::
  139. - Index:
  140. will invalidate the token.
  141. - Registry:
  142. grants a session (if token is approved) and fetches the images id
  143. 5. (Docker -> Registry) PUT /v1/images/98765432_parent/json
  144. **Headers**::
  145. - Authorization: Token signature=123abc,repository=”foo/bar”,access=write
  146. - Cookie: (Cookie provided by the Registry)
  147. 6. (Docker -> Registry) PUT /v1/images/98765432/json
  148. **Headers**:
  149. Cookie: (Cookie provided by the Registry)
  150. 7. (Docker -> Registry) PUT /v1/images/98765432_parent/layer
  151. **Headers**:
  152. Cookie: (Cookie provided by the Registry)
  153. 8. (Docker -> Registry) PUT /v1/images/98765432/layer
  154. **Headers**:
  155. X-Docker-Checksum: sha256:436745873465fdjkhdfjkgh
  156. 9. (Docker -> Registry) PUT /v1/repositories/foo/bar/tags/latest
  157. **Headers**:
  158. Cookie: (Cookie provided by the Registry)
  159. **Body**:
  160. “98765432”
  161. 10. (Docker -> Index) PUT /v1/repositories/foo/bar/images
  162. **Headers**:
  163. Authorization: Basic 123oislifjsldfj==
  164. X-Docker-Endpoints: registry1.docker.io (no validation on this right now)
  165. **Body**:
  166. (The image, id’s, tags and checksums)
  167. [{“id”: “9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f”,
  168. “checksum”: “b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087”}]
  169. **Return** HTTP 204
  170. .. note::
  171. If push fails and they need to start again, what happens in the index, there will already be a record for the namespace/name, but it will be initialized. Should we allow it, or mark as name already used? One edge case could be if someone pushes the same thing at the same time with two different shells.
  172. If it's a retry on the Registry, Docker has a cookie (provided by the registry after token validation). So the Index won’t have to provide a new token.
  173. 2.3 Delete
  174. ----------
  175. If you need to delete something from the index or registry, we need a nice clean way to do that. Here is the workflow.
  176. 1. Docker contacts the index to request a delete of a repository “samalba/busybox” (authentication required with user credentials)
  177. 2. If authentication works and repository is valid, “samalba/busybox” is marked as deleted and a temporary token is returned
  178. 3. Send a delete request to the registry for the repository (along with the token)
  179. 4. Registry A contacts the Index to verify the token (token must corresponds to the repository name)
  180. 5. Index validates the token. Registry A deletes the repository and everything associated to it.
  181. 6. docker contacts the index to let it know it was removed from the registry, the index removes all records from the database.
  182. .. note::
  183. The Docker client should present an "Are you sure?" prompt to confirm the deletion before starting the process. Once it starts it can't be undone.
  184. API (deleting repository foo/bar):
  185. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  186. 1. (Docker -> Index) DELETE /v1/repositories/foo/bar/
  187. **Headers**:
  188. Authorization: Basic sdkjfskdjfhsdkjfh==
  189. X-Docker-Token: true
  190. **Action**::
  191. - in index, we make sure it is a valid repository, and set to deleted (logically)
  192. **Body**::
  193. Empty
  194. 2. (Index -> Docker) 202 Accepted
  195. **Headers**:
  196. - WWW-Authenticate: Token signature=123abc,repository=”foo/bar”,access=delete
  197. - X-Docker-Endpoints: registry.docker.io [, registry2.docker.io] # list of endpoints where this repo lives.
  198. 3. (Docker -> Registry) DELETE /v1/repositories/foo/bar/
  199. **Headers**:
  200. Authorization: Token signature=123abc,repository=”foo/bar”,access=delete
  201. 4. (Registry->Index) PUT /v1/repositories/foo/bar/auth
  202. **Headers**:
  203. Authorization: Token signature=123abc,repository=”foo/bar”,access=delete
  204. **Action**::
  205. - Index:
  206. will invalidate the token.
  207. - Registry:
  208. deletes the repository (if token is approved)
  209. 5. (Registry -> Docker) 200 OK
  210. 200 If success
  211. 403 if forbidden
  212. 400 if bad request
  213. 404 if repository isn't found
  214. 6. (Docker -> Index) DELETE /v1/repositories/foo/bar/
  215. **Headers**:
  216. Authorization: Basic 123oislifjsldfj==
  217. X-Docker-Endpoints: registry-1.docker.io (no validation on this right now)
  218. **Body**:
  219. Empty
  220. **Return** HTTP 200
  221. 3. How to use the Registry in standalone mode
  222. =============================================
  223. The Index has two main purposes (along with its fancy social features):
  224. - Resolve short names (to avoid passing absolute URLs all the time)
  225. - username/projectname -> \https://registry.docker.io/users/<username>/repositories/<projectname>/
  226. - team/projectname -> \https://registry.docker.io/team/<team>/repositories/<projectname>/
  227. - Authenticate a user as a repos owner (for a central referenced repository)
  228. 3.1 Without an Index
  229. --------------------
  230. Using the Registry without the Index can be useful to store the images on a private network without having to rely on an external entity controlled by dotCloud.
  231. In this case, the registry will be launched in a special mode (--standalone? --no-index?). In this mode, the only thing which changes is that Registry will never contact the Index to verify a token. It will be the Registry owner responsibility to authenticate the user who pushes (or even pulls) an image using any mechanism (HTTP auth, IP based, etc...).
  232. In this scenario, the Registry is responsible for the security in case of data corruption since the checksums are not delivered by a trusted entity.
  233. As hinted previously, a standalone registry can also be implemented by any HTTP server handling GET/PUT requests (or even only GET requests if no write access is necessary).
  234. 3.2 With an Index
  235. -----------------
  236. The Index data needed by the Registry are simple:
  237. - Serve the checksums
  238. - Provide and authorize a Token
  239. In the scenario of a Registry running on a private network with the need of centralizing and authorizing, it’s easy to use a custom Index.
  240. The only challenge will be to tell Docker to contact (and trust) this custom Index. Docker will be configurable at some point to use a specific Index, it’ll be the private entity responsibility (basically the organization who uses Docker in a private environment) to maintain the Index and the Docker’s configuration among its consumers.
  241. 4. The API
  242. ==========
  243. The first version of the api is available here: https://github.com/jpetazzo/docker/blob/acd51ecea8f5d3c02b00a08176171c59442df8b3/docs/images-repositories-push-pull.md
  244. 4.1 Images
  245. ----------
  246. The format returned in the images is not defined here (for layer and json), basically because Registry stores exactly the same kind of information as Docker uses to manage them.
  247. The format of ancestry is a line-separated list of image ids, in age order. I.e. the image’s parent is on the last line, the parent of the parent on the next-to-last line, etc.; if the image has no parent, the file is empty.
  248. GET /v1/images/<image_id>/layer
  249. PUT /v1/images/<image_id>/layer
  250. GET /v1/images/<image_id>/json
  251. PUT /v1/images/<image_id>/json
  252. GET /v1/images/<image_id>/ancestry
  253. PUT /v1/images/<image_id>/ancestry
  254. 4.2 Users
  255. ---------
  256. 4.2.1 Create a user (Index)
  257. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  258. POST /v1/users
  259. **Body**:
  260. {"email": "sam@dotcloud.com", "password": "toto42", "username": "foobar"'}
  261. **Validation**:
  262. - **username**: min 4 character, max 30 characters, must match the regular
  263. expression [a-z0-9\_].
  264. - **password**: min 5 characters
  265. **Valid**: return HTTP 200
  266. Errors: HTTP 400 (we should create error codes for possible errors)
  267. - invalid json
  268. - missing field
  269. - wrong format (username, password, email, etc)
  270. - forbidden name
  271. - name already exists
  272. .. note::
  273. A user account will be valid only if the email has been validated (a validation link is sent to the email address).
  274. 4.2.2 Update a user (Index)
  275. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  276. PUT /v1/users/<username>
  277. **Body**:
  278. {"password": "toto"}
  279. .. note::
  280. We can also update email address, if they do, they will need to reverify their new email address.
  281. 4.2.3 Login (Index)
  282. ^^^^^^^^^^^^^^^^^^^
  283. Does nothing else but asking for a user authentication. Can be used to validate credentials. HTTP Basic Auth for now, maybe change in future.
  284. GET /v1/users
  285. **Return**:
  286. - Valid: HTTP 200
  287. - Invalid login: HTTP 401
  288. - Account inactive: HTTP 403 Account is not Active
  289. 4.3 Tags (Registry)
  290. -------------------
  291. The Registry does not know anything about users. Even though repositories are under usernames, it’s just a namespace for the registry. Allowing us to implement organizations or different namespaces per user later, without modifying the Registry’s API.
  292. The following naming restrictions apply:
  293. - Namespaces must match the same regular expression as usernames (See 4.2.1.)
  294. - Repository names must match the regular expression [a-zA-Z0-9-_.]
  295. 4.3.1 Get all tags
  296. ^^^^^^^^^^^^^^^^^^
  297. GET /v1/repositories/<namespace>/<repository_name>/tags
  298. **Return**: HTTP 200
  299. {
  300. "latest": "9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f",
  301. “0.1.1”: “b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087”
  302. }
  303. 4.3.2 Read the content of a tag (resolve the image id)
  304. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  305. GET /v1/repositories/<namespace>/<repo_name>/tags/<tag>
  306. **Return**:
  307. "9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f"
  308. 4.3.3 Delete a tag (registry)
  309. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  310. DELETE /v1/repositories/<namespace>/<repo_name>/tags/<tag>
  311. 4.4 Images (Index)
  312. ------------------
  313. For the Index to “resolve” the repository name to a Registry location, it uses the X-Docker-Endpoints header. In other terms, this requests always add a “X-Docker-Endpoints” to indicate the location of the registry which hosts this repository.
  314. 4.4.1 Get the images
  315. ^^^^^^^^^^^^^^^^^^^^^
  316. GET /v1/repositories/<namespace>/<repo_name>/images
  317. **Return**: HTTP 200
  318. [{“id”: “9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f”, “checksum”: “md5:b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087”}]
  319. 4.4.2 Add/update the images
  320. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  321. You always add images, you never remove them.
  322. PUT /v1/repositories/<namespace>/<repo_name>/images
  323. **Body**:
  324. [ {“id”: “9e89cc6f0bc3c38722009fe6857087b486531f9a779a0c17e3ed29dae8f12c4f”, “checksum”: “sha256:b486531f9a779a0c17e3ed29dae8f12c4f9e89cc6f0bc3c38722009fe6857087”} ]
  325. **Return** 204
  326. 4.5 Repositories
  327. ----------------
  328. 4.5.1 Remove a Repository (Registry)
  329. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  330. DELETE /v1/repositories/<namespace>/<repo_name>
  331. Return 200 OK
  332. 4.5.2 Remove a Repository (Index)
  333. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  334. This starts the delete process. see 2.3 for more details.
  335. DELETE /v1/repositories/<namespace>/<repo_name>
  336. Return 202 OK
  337. 5. Chaining Registries
  338. ======================
  339. It’s possible to chain Registries server for several reasons:
  340. - Load balancing
  341. - Delegate the next request to another server
  342. When a Registry is a reference for a repository, it should host the entire images chain in order to avoid breaking the chain during the download.
  343. The Index and Registry use this mechanism to redirect on one or the other.
  344. Example with an image download:
  345. On every request, a special header can be returned:
  346. X-Docker-Endpoints: server1,server2
  347. On the next request, the client will always pick a server from this list.
  348. 6. Authentication & Authorization
  349. =================================
  350. 6.1 On the Index
  351. -----------------
  352. The Index supports both “Basic” and “Token” challenges. Usually when there is a “401 Unauthorized”, the Index replies this::
  353. 401 Unauthorized
  354. WWW-Authenticate: Basic realm="auth required",Token
  355. You have 3 options:
  356. 1. Provide user credentials and ask for a token
  357. **Header**:
  358. - Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
  359. - X-Docker-Token: true
  360. In this case, along with the 200 response, you’ll get a new token (if user auth is ok):
  361. If authorization isn't correct you get a 401 response.
  362. If account isn't active you will get a 403 response.
  363. **Response**:
  364. - 200 OK
  365. - X-Docker-Token: Token signature=123abc,repository=”foo/bar”,access=read
  366. 2. Provide user credentials only
  367. **Header**:
  368. Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
  369. 3. Provide Token
  370. **Header**:
  371. Authorization: Token signature=123abc,repository=”foo/bar”,access=read
  372. 6.2 On the Registry
  373. -------------------
  374. The Registry only supports the Token challenge::
  375. 401 Unauthorized
  376. WWW-Authenticate: Token
  377. The only way is to provide a token on “401 Unauthorized” responses::
  378. Authorization: Token signature=123abc,repository=”foo/bar”,access=read
  379. Usually, the Registry provides a Cookie when a Token verification succeeded. Every time the Registry passes a Cookie, you have to pass it back the same cookie.::
  380. 200 OK
  381. Set-Cookie: session="wD/J7LqL5ctqw8haL10vgfhrb2Q=?foo=UydiYXInCnAxCi4=&timestamp=RjEzNjYzMTQ5NDcuNDc0NjQzCi4="; Path=/; HttpOnly
  382. Next request::
  383. GET /(...)
  384. Cookie: session="wD/J7LqL5ctqw8haL10vgfhrb2Q=?foo=UydiYXInCnAxCi4=&timestamp=RjEzNjYzMTQ5NDcuNDc0NjQzCi4="
  385. 7.0 Document Version
  386. ---------------------
  387. - 1.0 : May 6th 2013 : initial release
  388. - 1.1 : June 1st 2013 : Added Delete Repository and way to handle new source namespace.