{"id":24623234,"url":"https://github.com/ifsantana/rest-api-custom-methods","last_synced_at":"2026-05-14T22:44:10.946Z","repository":{"id":273883545,"uuid":"921185518","full_name":"ifsantana/rest-api-custom-methods","owner":"ifsantana","description":"A sample project about how to use custom methods - [Google AIP-136](https://google.aip.dev/136)","archived":false,"fork":false,"pushed_at":"2025-01-23T14:08:14.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T03:16:30.788Z","etag":null,"topics":["custom-methods","http-requests","kotlin","rest-api","restful-api","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/ifsantana.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":"2025-01-23T13:59:45.000Z","updated_at":"2025-01-23T14:34:43.000Z","dependencies_parsed_at":"2025-01-23T15:22:31.435Z","dependency_job_id":"5a2535c0-a120-41e5-8005-141a4b5ced1d","html_url":"https://github.com/ifsantana/rest-api-custom-methods","commit_stats":null,"previous_names":["ifsantana/rest-api-custom-methods"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ifsantana/rest-api-custom-methods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifsantana%2Frest-api-custom-methods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifsantana%2Frest-api-custom-methods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifsantana%2Frest-api-custom-methods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifsantana%2Frest-api-custom-methods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ifsantana","download_url":"https://codeload.github.com/ifsantana/rest-api-custom-methods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifsantana%2Frest-api-custom-methods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273632711,"owners_count":25140769,"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-04T02:00:08.968Z","response_time":61,"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":["custom-methods","http-requests","kotlin","rest-api","restful-api","spring-boot"],"created_at":"2025-01-25T03:57:11.590Z","updated_at":"2025-10-28T14:35:46.039Z","avatar_url":"https://github.com/ifsantana.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rest Api Custom Methods Sample\n\nCustom methods\n\nResource-oriented design ([AIP-121](https://google.aip.dev/121)) uses custom methods to provide a means to express arbitrary actions that are difficult to model using only the standard methods. \nCustom methods are important because they provide a means for an API's vocabulary to adhere to user intent.\n\nGuidance\n\nCustom methods should only be used for functionality that can not be easily expressed via standard methods; prefer standard methods if possible, due to their consistent semantics. (Of course, this only applies if the functionality in question actually conforms to the normal semantics; it is not a good idea to contort things to endeavor to make the standard methods \"sort of work\".)\n\nResource-based custom methods\n\nCustom methods must operate on a resource if the API can be modeled as such the examples below:\n\n## Endpoitns List\n\n### Enable Users\n\n```http://localhost:8080/v1/users/1:enable```\n\n### Disable Users\n\n```http://localhost:8080/v1/users/1:disable```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifsantana%2Frest-api-custom-methods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifsantana%2Frest-api-custom-methods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifsantana%2Frest-api-custom-methods/lists"}