Title: Use consistent "update" verbs in our API based on the underlying RPC (PUT/PATCH). · Issue #321 · googleapis/google-cloud-java · GitHub
Open Graph Title: Use consistent "update" verbs in our API based on the underlying RPC (PUT/PATCH). · Issue #321 · googleapis/google-cloud-java
X Title: Use consistent "update" verbs in our API based on the underlying RPC (PUT/PATCH). · Issue #321 · googleapis/google-cloud-java
Description: When it comes to metadata, some apiary libraries provide "patch" operations, some provide "update" and others provide both. In GCS API we picked the verb "update" for PATCH operation and we don't provide a "replace"/PUT (which exists now...
Open Graph Description: When it comes to metadata, some apiary libraries provide "patch" operations, some provide "update" and others provide both. In GCS API we picked the verb "update" for PATCH operation and we don't p...
X Description: When it comes to metadata, some apiary libraries provide "patch" operations, some provide "update" and others provide both. In GCS API we picked the verb "update" for ...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/321
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use consistent \"update\" verbs in our API based on the underlying RPC (PUT/PATCH).","articleBody":"When it comes to metadata, some apiary libraries provide \"patch\" operations, some provide \"update\" and others provide both.\n\nIn GCS API we picked the verb \"update\" for PATCH operation and we don't provide a \"replace\"/PUT\n(which exists now in the apiary world but is probably going to be removed for gRPC).\n\nI would like to avoid confusion when using different services, and suggests we always use the same\nverb for metadata \"patch\" operations and a different one for metadata \"replace\" operations.\n\nSome options for API names:\n\n| | Patch RPC | Update RPC |\n| --- | :-: | :-: |\n| 1 | patch | update |\n| 2 | patch | put |\n| 3 | update | replace |\n| 4 | update | set |\n| 5 | update | put |\n\nOther options are welcomed.\n\ngRPC does not provide the apiary level PATCH support (it is up to the service), and One Platform\nsuggests to use HTTP PATCH for update operations that are partial _or_ non-idempotent.\n\nMy preference is option (3)\n\n/cc @mziccard @ajkannan @jgeewax \n","author":{"url":"https://github.com/aozarov","@type":"Person","name":"aozarov"},"datePublished":"2015-11-04T19:01:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/321/google-cloud-java/issues/321"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d9b520c6-78a5-f25d-5ff7-22e12e1203f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A176:9C379:E64AE2:EB97CD:6A4DC3D6 |
| html-safe-nonce | 1084d058988c2ae4d6b6c9e0bc5cb5086a99ed736ab05914a1631f30c3cdfbfa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTc2OjlDMzc5OkU2NEFFMjpFQjk3Q0Q6NkE0REMzRDYiLCJ2aXNpdG9yX2lkIjoiNTU0NDMyMjY4MDg4NTE5OTgzMCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 3c76ce1efbffe9316092b25c4757a4bd3fc20ae873a7222e591ca0b5b450b2f3 |
| hovercard-subject-tag | issue:115124020 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/321/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d723a5f7b8e64f662e19eb92a2ecef8037ce474f46c3dcd935a0ef5da8f9779b/googleapis/google-cloud-java/issues/321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d723a5f7b8e64f662e19eb92a2ecef8037ce474f46c3dcd935a0ef5da8f9779b/googleapis/google-cloud-java/issues/321 |
| og:image:alt | When it comes to metadata, some apiary libraries provide "patch" operations, some provide "update" and others provide both. In GCS API we picked the verb "update" for PATCH operation and we don't p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aozarov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width