feat: go greenlight api wip

This commit is contained in:
2026-03-11 15:50:38 +01:00
parent 2ce943f94e
commit abf2db2798
19 changed files with 469 additions and 0 deletions
@@ -0,0 +1,9 @@
# Secrets
.env*
# Dependencies
node_modules
# OS files
.DS_Store
Thumbs.db
@@ -0,0 +1,21 @@
info:
name: Create Movie
type: http
seq: 2
http:
method: POST
url: "{{URL}}{{VERSION}}/movies"
body:
type: json
data: |-
{
"title": "Moana"
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,15 @@
info:
name: Get Single Movie
type: http
seq: 3
http:
method: GET
url: "{{URL}}{{VERSION}}/movies/{{MOVIE_ID}}"
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,15 @@
info:
name: Healthcheck
type: http
seq: 1
http:
method: GET
url: "{{URL}}{{VERSION}}/healthcheck"
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
@@ -0,0 +1,8 @@
name: Development
variables:
- name: URL
value: http://localhost:4000/
- name: VERSION
value: v1
- name: MOVIE_ID
value: "1"
@@ -0,0 +1,10 @@
opencollection: 1.0.0
info:
name: greenlight-bruno
bundled: false
extensions:
bruno:
ignore:
- node_modules
- .git