野象新媒体接口文档

新媒体对外接口文档


请求方式

<h2><code>GET</code></h2> <p><code>Query String Parameters</code></p> <p><code>GET</code> 请求时,参数以<code>url string</code>的形式进行传递,即<code>?</code>后的字符串为其请求参数,并以<code>&amp;amp;</code>符号作为分隔符:</p> <pre><code>GET http://localhost:8080/member/list?size=10&amp;amp;appId=xxxxxx</code></pre> <h2><code>POST</code></h2> <p><code>Content-Type: application/json</code></p> <p><code>POST</code> 请求时,请求体数据类型为<code>JSON</code>:</p> <pre><code>POST https://gateway-partner.nm-serv.cn/promotion/add Content-Type: application/json {     &amp;quot;partnerId&amp;quot;: xxxxxx,     &amp;quot;promotionName&amp;quot;: &amp;quot;测试&amp;quot;,     &amp;quot;promotionType&amp;quot;: 1,     &amp;quot;contentId&amp;quot;: xxxxxx,     &amp;quot;contentType&amp;quot;: 2,     &amp;quot;adBackId&amp;quot;: xxxxxx }</code></pre>

页面列表

ITEM_HTML