Page MenuHomeDevCentral

D3468.diff
No OneTemporary

D3468.diff

diff --git a/nasqueron/ops/Docker Registry API/200 ALIVE.bru b/nasqueron/ops/Docker Registry API/200 ALIVE.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/200 ALIVE.bru
@@ -0,0 +1,21 @@
+meta {
+ name: 200 ALIVE
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{URL}}/status
+ body: multipartForm
+ auth: none
+}
+
+tests {
+ test("Status code is 200", function () {
+ expect(res.getStatus()).to.equal(200);
+ });
+
+ test("Body matches string", function () {
+ expect(res.getBody()?.toString()).to.include("ALIVE");
+ });
+}
diff --git a/nasqueron/ops/Docker Registry API/Registry/Get registry stats.bru b/nasqueron/ops/Docker Registry API/Registry/Get registry stats.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Registry/Get registry stats.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Get registry stats
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{URL}}/registry/stats
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/Repository/Find repositories by image hash.bru b/nasqueron/ops/Docker Registry API/Repository/Find repositories by image hash.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Repository/Find repositories by image hash.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Find repositories by image hash
+ type: http
+ seq: 5
+}
+
+get {
+ url: {{URL}}/repository/findByImage/6fb84ba634fe68572a2ac99741062695db24b921d0aa72e61ee669902f88c187
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/Repository/Find repositories by layer hash.bru b/nasqueron/ops/Docker Registry API/Repository/Find repositories by layer hash.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Repository/Find repositories by layer hash.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Find repositories by layer hash
+ type: http
+ seq: 4
+}
+
+get {
+ url: {{URL}}/repository/findByLayer/256b176beaff7815db2a93ee2071621ae88f451bb1e198ca73010ed5bba79b65
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/Repository/Get all repositories.bru b/nasqueron/ops/Docker Registry API/Repository/Get all repositories.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Repository/Get all repositories.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Get all repositories
+ type: http
+ seq: 3
+}
+
+get {
+ url: {{URL}}/repository/getAll
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/Repository/Get repository info -404-.bru b/nasqueron/ops/Docker Registry API/Repository/Get repository info -404-.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Repository/Get repository info -404-.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Get repository info -404-
+ type: http
+ seq: 2
+}
+
+get {
+ url: {{URL}}/repository/quux
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/Repository/Get repository info.bru b/nasqueron/ops/Docker Registry API/Repository/Get repository info.bru
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/Repository/Get repository info.bru
@@ -0,0 +1,11 @@
+meta {
+ name: Get repository info
+ type: http
+ seq: 1
+}
+
+get {
+ url: {{URL}}/repository/xeyes
+ body: none
+ auth: none
+}
diff --git a/nasqueron/ops/Docker Registry API/bruno.json b/nasqueron/ops/Docker Registry API/bruno.json
new file mode 100644
--- /dev/null
+++ b/nasqueron/ops/Docker Registry API/bruno.json
@@ -0,0 +1,9 @@
+{
+ "version": "1",
+ "name": "Docker Registry API",
+ "type": "collection",
+ "ignore": [
+ "node_modules",
+ ".git"
+ ]
+}
diff --git a/nasqueron/ops/Docker Registry API/collection.bru b/nasqueron/ops/Docker Registry API/collection.bru
new file mode 100644

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 09:02 (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264402
Default Alt Text
D3468.diff (3 KB)

Event Timeline