You are here: Application Templates > APIs > Get All Templates

4.15 Get All Templates

In this topic:

4.15.1 URL

GET /api/templates/

4.15.2 Parameters

4.15.2.A Page Control

Parameter Required Type Description Example
page_size No Integer

Specifies count of templates per page.

page_size=3
page No Integer Specifies number of page. page=2

4.15.2.B Filter

Parameter Required Type Description Example
name No String Specifies name of template for filtering name=Free Form
owner No String Specifies owner's name for filtering owner=moab-admin
published No Boolean Specifies status of template for filtering published=True
permissions__user__name__in No List Specifies list of users that template should contain permissions__user__name__in=hpotter,hgranger
permissions__group__name__in No List Specifies list of groups that template should contain permissions__group__name__in=hpotter,hgranger
permissions__account__name__in No List Specifies list of accounts that template should contain permissions__account__name__in=DEFAULT,QA
date__gte No Date Specifies the date before which the template was created date__gte=2015-09-01
date__lte No Date Specifies the date after which the template was created date__lte=2015-09-16

4.15.3 Example

GET /api/templates/?page_size=1&published=True

4.15.3.A Response

Related Topics 

© 2016 Adaptive Computing