API interpetation RESTCONF Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does the ‘content’ query parameter control?

A

It controls how descendant nodes of the requested data nodes are processed in the reply.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What must support the ‘content’ query parameter?

A

It must be supported by the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the default value for the ‘content’ query parameter if not present in the URI?

A

The default value is ‘all’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What status-line is returned if the ‘content’ parameter is used for unsupported methods or resource types?

A

A ‘400 Bad Request’ status-line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are examples of ‘content’ query parameter values?

A

Examples include ‘config’ and ‘nonconfig’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the ‘depth’ query parameter do?

A

It limits the depth of subtrees returned by the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are valid values for the ‘depth’ query parameter?

A

Either an integer between 1 and 65535 or the string ‘unbounded’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default value for the ‘depth’ query parameter?

A

The default value is ‘unbounded’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What status-line is returned if ‘depth’ is used for unsupported methods or resource types?

A

A ‘400 Bad Request’ status-line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Provide an example of a ‘depth’ query parameter value.

A

‘depth=65535’ or ‘depth=0’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the ‘fields’ query parameter used for?

A

It is used to optionally identify data nodes within the target resource for retrieval.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What methods support the ‘fields’ query parameter?

A

GET/HEAD methods support the ‘fields’ query parameter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What status-line is returned if the ‘fields’ parameter is used for unsupported methods?

A

A ‘400 Bad Request’ status-line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the structure for the ‘fields’ query parameter?

A

‘fields-expr = path ‘(‘ fields-expr ‘)’ / path ‘;’ fields-expr / path’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the semicolon (‘;’) in the ‘fields’ query parameter do?

A

It is used to select multiple nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do parentheses (‘()’) specify in the ‘fields’ query parameter?

A

They specify sub-selectors of a node.

17
Q

What does the slash (‘/’) specify in the ‘fields’ query parameter?

A

It retrieves a child node of a node.

18
Q

Give an example of a ‘fields’ query parameter for module information.

A

‘fields=ietf-yang-library:modules-state/module(name;revision;schema;namespace)’

19
Q

Give an example of a ‘fields’ query parameter for name and IP.

A

‘fields=GigabitEthernet/ip/address/primary;name’

20
Q

What is the ‘point’ query parameter used for?

A

It specifies the insertion point for a data resource being created or moved.

21
Q

Which methods support the ‘point’ query parameter?

A

POST and PUT methods support the ‘point’ query parameter.

22
Q

What is the format for the ‘point’ query parameter value?

A

It is the same as a target resource URI string.

23
Q

Give an example of a ‘point’ query parameter.

A

‘/Cisco-IOS-XE-native:native/privilege/exec/level=2/command-list=show clock’

24
Q

What does the ‘with-defaults’ query parameter specify?

A

It specifies how information about default data nodes is returned in response to GET requests.

25
Q

What is the default basic-mode for the ‘with-defaults’ query parameter?

A

The default basic-mode is ‘explicit’.