CMS Development

silvacarl
メンバー

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

Does anyone have an example of the minimum number or required parameters for POST /cms/v3/pages/site-pages?  or for POST/cms/v3/pages/site-pages/batch/create?

 

We want to prepopulate a site for a client with pages based on a sitemap they created so they can then fill in the content, etc.

 

Any assistance is greatly appreciated!

1件の承認済みベストアンサー
RomanGruit
解決策
トップ投稿者

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

Hey there. Thanks, @dennisedson, and great question @silvacarl !

The bare minimum for cms/v3/pages/site-pages endpoint is to send one parameter - name.
Like that

{
"name": "Products"
}


Hope that's helpful. Feel free to reach out with any other questions!
Roman

元の投稿で解決策を見る

4件の返信
silvacarl
メンバー

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

perfect will try it out.  thx!!

RomanGruit
解決策
トップ投稿者

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

Hey there. Thanks, @dennisedson, and great question @silvacarl !

The bare minimum for cms/v3/pages/site-pages endpoint is to send one parameter - name.
Like that

{
"name": "Products"
}


Hope that's helpful. Feel free to reach out with any other questions!
Roman

JamesCarr
メンバー

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

It would be cool to see what it takes to just put a simple "Hello World" on the page too. And then, using templates. 

 

I cannot find any good examples so it makes it challenging. 

0 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

POST /cms/v3/pages/site-pages minimum number or required parameters?

解決

@RomanGruit knows a thing or two about the cms API endpoints.  Maybe he can help out here!