{"id":31286926,"url":"https://github.com/theforps/notes-go_rest","last_synced_at":"2025-09-24T10:58:04.884Z","repository":{"id":315781397,"uuid":"1060809457","full_name":"theforps/Notes-GO_REST","owner":"theforps","description":"Simple REST API for taking notes","archived":false,"fork":false,"pushed_at":"2025-09-20T17:23:25.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-20T18:29:14.172Z","etag":null,"topics":["go","notes","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theforps.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T16:30:36.000Z","updated_at":"2025-09-20T17:24:29.000Z","dependencies_parsed_at":"2025-09-20T18:29:20.973Z","dependency_job_id":"3370c8ca-34cd-4b20-9542-425a25e0c42f","html_url":"https://github.com/theforps/Notes-GO_REST","commit_stats":null,"previous_names":["theforps/notes-go_rest"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/theforps/Notes-GO_REST","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforps%2FNotes-GO_REST","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforps%2FNotes-GO_REST/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforps%2FNotes-GO_REST/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforps%2FNotes-GO_REST/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theforps","download_url":"https://codeload.github.com/theforps/Notes-GO_REST/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theforps%2FNotes-GO_REST/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276737506,"owners_count":25695699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-24T02:00:09.776Z","response_time":97,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","notes","rest-api"],"created_at":"2025-09-24T10:57:59.588Z","updated_at":"2025-09-24T10:58:04.879Z","avatar_url":"https://github.com/theforps.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿## 📝 Notes API Documentation\n\nThis API allows you to perform CRUD operations on notes.\n\n### Base URL\n\n```\nhttp://localhost:5050\n```\n\n---\n\n### 📌 Endpoints\n\n---\n\n### 1. Get All Notes\n\n* **URL:** `/get-notes`\n* **Method:** `GET`\n* **Description:** Retrieves a list of all notes.\n* **Response:**\n\n```json\n{\n  \"notes\": [\n    {\n      \"id\": 1,\n      \"title\": \"Example Title\",\n      \"description\": \"Example Description\"\n    }\n  ]\n}\n```\n\n---\n\n### 2. Get Note by ID\n\n* **URL:** `/get-note/:id`\n* **Method:** `GET`\n* **Description:** Retrieves a single note by its ID.\n* **Path Parameters:**\n\n    * `id` (integer) — ID of the note.\n* **Response:**\n\n```json\n{\n  \"note\": {\n    \"id\": 1,\n    \"title\": \"Example Title\",\n    \"description\": \"Example Description\"\n  }\n}\n```\n\n---\n\n### 3. Create Note\n\n* **URL:** `/add-note`\n* **Method:** `POST`\n* **Description:** Creates a new note.\n* **Request Body:**\n\n```json\n{\n  \"title\": \"New Note Title\",\n  \"description\": \"New Note Description\"\n}\n```\n\n* **Response:**\n\n```json\n\"Success\"\n```\n\n---\n\n### 4. Update Note\n\n* **URL:** `/update-note/:id`\n* **Method:** `PUT`\n* **Description:** Updates an existing note by ID.\n* **Path Parameters:**\n\n    * `id` (integer) — ID of the note to update.\n* **Request Body:**\n\n```json\n{\n  \"title\": \"Updated Note Title\",\n  \"description\": \"Updated Note Description\"\n}\n```\n\n* **Response:**\n\n```json\n\"Success\"\n```\n\n---\n\n### 5. Delete Note\n\n* **URL:** `/delete-note/:id`\n* **Method:** `DELETE`\n* **Description:** Deletes a note by ID.\n* **Path Parameters:**\n\n    * `id` (integer) — ID of the note to delete.\n* **Response:**\n\n```json\n\"Success\"\n```\n\n---\n\n### ⚠️ Error Handling\n\n* Returns `400 Bad Request` if:\n\n    * The `id` parameter is not a valid integer.\n    * The request body is not properly formatted JSON.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheforps%2Fnotes-go_rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheforps%2Fnotes-go_rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheforps%2Fnotes-go_rest/lists"}