ASA REST API Flashcards

1
Q

what does it support

A
  • standard HTTP success and error messages
  • JSON encoding
  • REST calls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

REST comes natively suppported

A

no, you must install an add-on module

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

is there a software dependency between OS and API

A

no

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

how to enable REST API

A
  • software above 9.3(2) or 9.4(1)
  • http server enable
  • download REST agent
  • rest-api image to install
  • rest-api agent to start
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

explain required user priviliges pertaining to API

A
  • level 3: only GET /api/monitoring calls
  • level 5: all GET calls
  • level 15: PUT/POST/DELETE operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how does ASA authenticate the admin

A

checks privileges provided by Basic Auth or Token fields

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

where is API documentation located

A

https:///docs

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

what is an alternative to Postman

A

ASA’s native API console

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

what HTTP methods ASA support

A

GET, POST, PUT, PATCH, DELETE

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

which enconding Basic Auth uses

A

base64 encoded string of username:password

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

how to obtain X-Auth-Token

A

API call to /api/tokenservices

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