2021.1

Table Of Contents
<option value="email">Email</option>
</select>
</div>
</fieldset>
<fieldset>
<legend>Actions</legend>
<div>
<input id="submit" type="submit"
value="Submit">
</div>
</fieldset>
</form>
</body>
</html>
JavaScript/jQuery
cse-get-all-contentsets.js
/* Content Set Entity Service - Get All Content Sets Example */
(function ($, c) {
"use strict";
$(function () {
c.setupExample();
$("form").on("submit", function (event) {
event.preventDefault();
if (!c.checkSessionValid()) return;
var type = $("#type").val();
var settings = {
type: "GET",
url: "/rest/serverengine/entity/contentsets"
};
if (type !== "default") settings.data = { type: type };
$.ajax(settings)
.done(function (response) {
c.displayStatus("Request Successful");
c.displayHeading("Content Set IDs");
c.displaySubResult("Plain", c.jsonIDListToPlain
Page 228