-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathput.extras.export_templates.yaml
56 lines (56 loc) · 1.43 KB
/
put.extras.export_templates.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This action was auto generated from the NetBox API Swagger Spec
# NetBox API version: 4.0
description: "Put a export template object."
enabled: true
entry_point: run.py
name: put.extras.export_templates
parameters:
endpoint_uri:
default: "/extras/export-templates/{{ id }}/"
immutable: true
type: string
http_verb:
default: put
immutable: true
type: string
get_detail_route_eligible:
default: true
immutable: true
type: boolean
object_types:
required: false
type: array
description: "Object types"
name:
required: false
type: string
description: "Name"
description:
required: false
type: string
description: "Description"
template_code:
required: false
type: string
description: "Jinja2 template code. The list of objects being exported is passed as a context variable named <code>queryset</code>."
mime_type:
required: false
type: string
description: "Defaults to <code>text/plain; charset=utf-8</code>"
file_extension:
required: false
type: string
description: "Extension to append to the rendered filename"
as_attachment:
required: false
type: boolean
description: "Download file as attachment"
data_source:
required: false
type: object
description: "Data source"
id:
required: true
type: integer
description: "ID of the object to put."
runner_type: python-script