<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamatimaru</author_name>
  <author_url>https://blog.hatena.ne.jp/kamatimaru/</author_url>
  <blog_title>delhi09の勉強日記</blog_title>
  <blog_url>https://kamatimaru.hatenablog.com/</blog_url>
  <categories>
    <anon>設計</anon>
  </categories>
  <description>概要 JSONを返すAPI実装するときに、以下のように共通部分でラップしたレスポンスを返すことがある。 { &quot;header&quot;: { &quot;code&quot;: &quot;0&quot;, &quot;message&quot;: &quot;success&quot; }, &quot;result&quot;: { &quot;books&quot;: [ { &quot;id&quot;: 1, &quot;name&quot;: &quot;技術書1&quot;, &quot;price&quot;: 3000 }, { &quot;id&quot;: 2, &quot;name&quot;: &quot;技術書2&quot;, &quot;price&quot;: 1500 } ] } } ※ 「共通部分でラップ」とは以下の部分のこと &quot;header&quot;: { &quot;code&quot;: &quot;0&quot;, &quot;message&quot;: &quot;success&quot; }, &quot;result&quot;:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatimaru.hatenablog.com%2Fentry%2F2021%2F07%2F17%2F122524&quot; title=&quot;JSONを返すAPIの共通部分(=エンベロープ)について - delhi09の勉強日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-17 12:25:24</published>
  <title>JSONを返すAPIの共通部分(=エンベロープ)について</title>
  <type>rich</type>
  <url>https://kamatimaru.hatenablog.com/entry/2021/07/17/122524</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
