<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fullmated</author_name>
  <author_url>https://blog.hatena.ne.jp/fullmated/</author_url>
  <blog_title>Legalscapeテックブログ</blog_title>
  <blog_url>https://tech.legalscape.co.jp/</blog_url>
  <categories>
    <anon>GitHub</anon>
  </categories>
  <description>こんにちは。エンジニアの古矢です。 今回は、GitHub の Create or update file contents API の挙動について確認してみたという内容になります。 REST API endpoints for repository contents - GitHub Docs 困っていたこと GitHub REST API の PUT /repos/{owner}/{repo}/contents/{path}（Octokit では repos.createOrUpdateFileContents）を使ってファイルを更新する処理を書いていたところ、疑問に思ったのが次の点です。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.legalscape.co.jp%2Fentry%2F2025%2F09%2F19%2F123756&quot; title=&quot;GitHub の Create or update file contents API の挙動を確認してみた - Legalscapeテックブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/f/fullmated/20250918/20250918141023.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-19 12:37:56</published>
  <title>GitHub の Create or update file contents API の挙動を確認してみた</title>
  <type>rich</type>
  <url>https://tech.legalscape.co.jp/entry/2025/09/19/123756</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
