{"id":20976001,"url":"https://github.com/banyc/rest_mysql","last_synced_at":"2025-03-13T09:18:58.715Z","repository":{"id":38228479,"uuid":"259208753","full_name":"Banyc/REST_MySQL","owner":"Banyc","description":"A simple web API server applying REST standard","archived":false,"fork":false,"pushed_at":"2023-06-28T01:39:57.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T05:49:07.930Z","etag":null,"topics":["dotnet","dotnet-core","rest","rest-api","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Banyc.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}},"created_at":"2020-04-27T04:52:44.000Z","updated_at":"2022-06-23T02:46:42.000Z","dependencies_parsed_at":"2025-01-20T05:49:10.449Z","dependency_job_id":"aef0993b-b790-4d14-8d1a-96b809a75e4f","html_url":"https://github.com/Banyc/REST_MySQL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FREST_MySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FREST_MySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FREST_MySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FREST_MySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Banyc","download_url":"https://codeload.github.com/Banyc/REST_MySQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374326,"owners_count":20280661,"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","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":["dotnet","dotnet-core","rest","rest-api","webapi"],"created_at":"2024-11-19T04:48:40.944Z","updated_at":"2025-03-13T09:18:58.708Z","avatar_url":"https://github.com/Banyc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST_MySQL\n\n## API details\n\n```\nMethod name\tAPI call\ngetList\tGET http://my.api.url/api/people/?sort=[\"name\",\"ASC\"]\u0026range=[0, 24]\u0026filter={\"name\":\"m\"}\ngetOne\tGET http://my.api.url/api/people/123\ngetMany\tGET http://my.api.url/api/people/?filter={\"uid\":[2,4,3]}\ngetManyReference\tGET http://my.api.url/api/people?filter={\"name\":\"Tom\"}\ncreate\tPOST http://my.api.url/api/people/\nupdate\tPUT http://my.api.url/api/people/123\nupdateMany\tMultiple calls to PUT http://my.api.url/api/people/123\ndelete\tDELETE http://my.api.url/api/people/123\ndeteleMany\tMultiple calls to DELETE http://my.api.url/api/people/123\n```\n\nWhen creating, put new data to the body in json format.\n\n## Tutorial\n\n\u003chttps://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-3.1\u0026tabs=visual-studio-code\u003e\n\n## generate controller\n\n```\ndotnet aspnet-codegenerator controller -name PeopleController -async -api -m Person -dc PersonContext -outDir Controllers\n```\n\n## Credit\n\n- tYoshiyuki's [dotnet-core-react-admin](https://github.com/tYoshiyuki/dotnet-core-react-admin)\n\n## TODO\n\n- [ ] Enable `getMany`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Frest_mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanyc%2Frest_mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Frest_mysql/lists"}