diff --git a/.gitignore b/.gitignore index 596b93a..e3801a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ todo.md .env + +Language*Learning*API/ diff --git a/Language Learning API/Health.yml b/Language Learning API/Health.yml deleted file mode 100644 index 375f968..0000000 --- a/Language Learning API/Health.yml +++ /dev/null @@ -1,31 +0,0 @@ -info: - name: Health - type: http - seq: 1 - -http: - method: GET - url: "{{baseUrl}}/health" - auth: inherit - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 - -examples: - - name: 200 Response - description: Successful Response - request: - url: "{{baseUrl}}/health" - method: GET - response: - status: 200 - statusText: OK - headers: - - name: Content-Type - value: application/json - body: - type: json - data: "{}" diff --git a/Language Learning API/analysis/Analyze Pos.yml b/Language Learning API/analysis/Analyze Pos.yml deleted file mode 100644 index 56023c8..0000000 --- a/Language Learning API/analysis/Analyze Pos.yml +++ /dev/null @@ -1,99 +0,0 @@ -info: - name: Analyze Pos - type: http - seq: 1 - tags: - - analysis - -http: - method: POST - url: "{{baseUrl}}/analyze/pos" - body: - type: json - data: |- - { - "text": "This is a test", - "language": "en" - } - auth: - type: bearer - token: "{{token}}" - -runtime: - variables: - - name: baseUrl - value: http://localhost:8000 - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 - -examples: - - name: 200 Response - description: Successful Response - request: - url: "{{baseUrl}}/analyze/pos" - method: POST - body: - type: json - data: |- - { - "text": "", - "language": "" - } - response: - status: 200 - statusText: OK - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "language": "", - "tokens": [ - { - "text": "", - "lemma": "", - "pos": "", - "tag": "", - "dep": "", - "is_stop": false - } - ] - } - - name: 422 Response - description: Validation Error - request: - url: "{{baseUrl}}/analyze/pos" - method: POST - body: - type: json - data: |- - { - "text": "", - "language": "" - } - response: - status: 422 - statusText: Unprocessable Entity - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "detail": [ - { - "loc": [], - "msg": "", - "type": "", - "input": "", - "ctx": {} - } - ] - } diff --git a/Language Learning API/analysis/folder.yml b/Language Learning API/analysis/folder.yml deleted file mode 100644 index 2d5b3eb..0000000 --- a/Language Learning API/analysis/folder.yml +++ /dev/null @@ -1,7 +0,0 @@ -info: - name: analysis - type: folder - seq: 1 - -request: - auth: inherit diff --git a/Language Learning API/audio/Get audio.yml b/Language Learning API/audio/Get audio.yml deleted file mode 100644 index 79c3238..0000000 --- a/Language Learning API/audio/Get audio.yml +++ /dev/null @@ -1,19 +0,0 @@ -info: - name: Get audio - type: http - seq: 1 - -http: - method: GET - url: audio/:file_name - params: - - name: file_name - value: "" - type: path - auth: inherit - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 diff --git a/Language Learning API/audio/folder.yml b/Language Learning API/audio/folder.yml deleted file mode 100644 index 0e61e5a..0000000 --- a/Language Learning API/audio/folder.yml +++ /dev/null @@ -1,7 +0,0 @@ -info: - name: audio - type: folder - seq: 6 - -request: - auth: inherit diff --git a/Language Learning API/auth/Login.yml b/Language Learning API/auth/Login.yml deleted file mode 100644 index 3b648d1..0000000 --- a/Language Learning API/auth/Login.yml +++ /dev/null @@ -1,22 +0,0 @@ -info: - name: Login - type: http - seq: 2 - -http: - method: POST - url: "{{baseUrl}}/auth/register" - body: - type: json - data: |- - { - "email": "wilson@thomaswilson.xyz", - "password": "wilson@thomaswilson.xyz" - } - auth: inherit - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 diff --git a/Language Learning API/auth/Register.yml b/Language Learning API/auth/Register.yml deleted file mode 100644 index a6d9f8a..0000000 --- a/Language Learning API/auth/Register.yml +++ /dev/null @@ -1,15 +0,0 @@ -info: - name: Register - type: http - seq: 1 - -http: - method: POST - url: "" - auth: inherit - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 diff --git a/Language Learning API/auth/folder.yml b/Language Learning API/auth/folder.yml deleted file mode 100644 index fad5330..0000000 --- a/Language Learning API/auth/folder.yml +++ /dev/null @@ -1,7 +0,0 @@ -info: - name: auth - type: folder - seq: 5 - -request: - auth: inherit diff --git a/Language Learning API/generation/Create Generation Job.yml b/Language Learning API/generation/Create Generation Job.yml deleted file mode 100644 index 06e048c..0000000 --- a/Language Learning API/generation/Create Generation Job.yml +++ /dev/null @@ -1,90 +0,0 @@ -info: - name: Create Generation Job - type: http - seq: 1 - tags: - - generation - -http: - method: POST - url: "{{baseUrl}}/generate" - body: - type: json - data: |- - { - "target_language": "", - "complexity_level": "", - "input_texts": [], - "topic": "" - } - auth: - type: bearer - token: "{{token}}" - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 - -examples: - - name: 202 Response - description: Successful Response - request: - url: "{{baseUrl}}/generate" - method: POST - body: - type: json - data: |- - { - "target_language": "", - "complexity_level": "", - "input_texts": [], - "topic": "" - } - response: - status: 202 - statusText: Accepted - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "job_id": "" - } - - name: 422 Response - description: Validation Error - request: - url: "{{baseUrl}}/generate" - method: POST - body: - type: json - data: |- - { - "target_language": "", - "complexity_level": "", - "input_texts": [], - "topic": "" - } - response: - status: 422 - statusText: Unprocessable Entity - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "detail": [ - { - "loc": [], - "msg": "", - "type": "", - "input": "", - "ctx": {} - } - ] - } diff --git a/Language Learning API/generation/folder.yml b/Language Learning API/generation/folder.yml deleted file mode 100644 index b213120..0000000 --- a/Language Learning API/generation/folder.yml +++ /dev/null @@ -1,7 +0,0 @@ -info: - name: generation - type: folder - seq: 1 - -request: - auth: inherit diff --git a/Language Learning API/jobs/Get Job.yml b/Language Learning API/jobs/Get Job.yml deleted file mode 100644 index d091827..0000000 --- a/Language Learning API/jobs/Get Job.yml +++ /dev/null @@ -1,82 +0,0 @@ -info: - name: Get Job - type: http - seq: 1 - tags: - - jobs - -http: - method: GET - url: "{{baseUrl}}/jobs/:job_id" - params: - - name: job_id - value: "" - type: path - auth: - type: bearer - token: "{{token}}" - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 - -examples: - - name: 200 Response - description: Successful Response - request: - url: "{{baseUrl}}/jobs/:job_id" - method: GET - params: - - name: job_id - value: "" - type: path - response: - status: 200 - statusText: OK - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "id": "", - "status": "", - "target_language": "", - "complexity_level": "", - "created_at": "", - "generated_text": "", - "input_summary": "", - "error_message": "" - } - - name: 422 Response - description: Validation Error - request: - url: "{{baseUrl}}/jobs/:job_id" - method: GET - params: - - name: job_id - value: "" - type: path - response: - status: 422 - statusText: Unprocessable Entity - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "detail": [ - { - "loc": [], - "msg": "", - "type": "", - "input": "", - "ctx": {} - } - ] - } diff --git a/Language Learning API/jobs/Get jobs.yml b/Language Learning API/jobs/Get jobs.yml deleted file mode 100644 index dd2aacd..0000000 --- a/Language Learning API/jobs/Get jobs.yml +++ /dev/null @@ -1,82 +0,0 @@ -info: - name: Get jobs - type: http - seq: 2 - tags: - - jobs - -http: - method: GET - url: "{{baseUrl}}/jobs/:job_id" - params: - - name: job_id - value: d2130df6-cab2-4407-b35b-45e90dca8555 - type: path - auth: - type: bearer - token: "{{token}}" - -settings: - encodeUrl: true - timeout: 0 - followRedirects: true - maxRedirects: 5 - -examples: - - name: 200 Response - description: Successful Response - request: - url: "{{baseUrl}}/jobs/:job_id" - method: GET - params: - - name: job_id - value: "" - type: path - response: - status: 200 - statusText: OK - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "id": "", - "status": "", - "target_language": "", - "complexity_level": "", - "created_at": "", - "generated_text": "", - "input_summary": "", - "error_message": "" - } - - name: 422 Response - description: Validation Error - request: - url: "{{baseUrl}}/jobs/:job_id" - method: GET - params: - - name: job_id - value: "" - type: path - response: - status: 422 - statusText: Unprocessable Entity - headers: - - name: Content-Type - value: application/json - body: - type: json - data: |- - { - "detail": [ - { - "loc": [], - "msg": "", - "type": "", - "input": "", - "ctx": {} - } - ] - } diff --git a/Language Learning API/jobs/folder.yml b/Language Learning API/jobs/folder.yml deleted file mode 100644 index 3c5f4b9..0000000 --- a/Language Learning API/jobs/folder.yml +++ /dev/null @@ -1,7 +0,0 @@ -info: - name: jobs - type: folder - seq: 1 - -request: - auth: inherit diff --git a/Language Learning API/opencollection.yml b/Language Learning API/opencollection.yml deleted file mode 100644 index 0e073e7..0000000 --- a/Language Learning API/opencollection.yml +++ /dev/null @@ -1,31 +0,0 @@ -opencollection: 1.0.0 - -info: - name: Language Learning API -config: - proxy: - inherit: true - config: - protocol: http - hostname: "" - port: "" - auth: - username: "" - password: "" - bypassProxy: "" - -request: - auth: - type: bearer - token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkNDIzODc1NC05ZDljLTRkOWMtYTM1OS1lMGQ4MDZhOGQ1Y2QiLCJlbWFpbCI6IndpbHNvbkB0aG9tYXN3aWxzb24ueHl6IiwiZXhwIjoxNzczOTkzNDcxfQ.J5SH93js-YrJThxGliOKIOV8kbdfP1qUu0rx3iBNX0A - variables: - - name: baseUrl - value: http://localhost:8000 - - name: token - value: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkNDIzODc1NC05ZDljLTRkOWMtYTM1OS1lMGQ4MDZhOGQ1Y2QiLCJlbWFpbCI6IndpbHNvbkB0aG9tYXN3aWxzb24ueHl6IiwiZXhwIjoxNzczOTkzNDcxfQ.J5SH93js-YrJThxGliOKIOV8kbdfP1qUu0rx3iBNX0A -bundled: false -extensions: - bruno: - ignore: - - node_modules - - .git