A Web source typically crawls the content of a single website, starting from the specified URL (or URLs), and then recursively following any hyperlink it finds in pages to discover the entire site (see Add/Edit Web Source - Panel). By default, a Web source schedule is set to rescan the website at midnight everyday.
In the request path:
<MyOrganizationId>by the actual ID of the target Coveo Cloud V2 organization (see Retrieving the ID of a Coveo Cloud V2 Organization).
Authorization HTTP header:
<MyAccessToken>by an access token that grants the Sources - Edit privilege in the target Coveo Cloud V2 organization (see Creating an API key, Getting the Privileges of an Access Token, and Getting Your Coveo Cloud V2 Platform Access Token).
In the request body:
<MyWebSourceName>by a meaningful
<MyURL>*by one or more
urlsfrom which to start crawling the pages to index with your source.
The body of a successful response (
201 Created) contains information about the source you just created. The
id property value is important, as it is a required parameter in many Coveo Cloud V2 platform REST API operations. You can always retrieve this value later (see Retrieving the ID of a Source).