Creating a deck

If you want to group a number of cards together, you can create a deck. To do this, you need to run a POST query and link it to the following URL: https://predix-views.run.aws-usw02-pr.ice.predix.io/api/decks. For this POST query, you can use the same headers as we used to create a card. The body, however, should be as follows:

{  "title": "Deck Title",  "cardOrder": [],  "id": "deck-1"}

The output after running a POST query to create a deck is as follows:

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.