Creating APIs in R with Plumber
1
Introduction
1.1
Web APIs
1.2
Installation
2
Quickstart
2.1
Specifying the Inputs
2.2
Customizing The Output
3
Routing & Input
3.1
Routing
3.1.1
Endpoints
3.1.2
Dynamic Routes
3.1.3
Typed Dynamic Routes
3.1.4
Filters
3.2
Input Handling
3.2.1
The Request Object
3.2.2
Query Strings
3.2.3
Request Body
3.2.4
Cookies
3.2.5
Headers
4
Rendering Output
4.1
The Response Object
4.2
Serializers
4.2.1
Bypassing Serialization
4.2.2
Boxed vs Unboxed JSON
4.3
Error Handling
4.4
Custom Serializers
5
Runtime
5.1
Execution Model
5.2
Managing State
6
Tips & Tricks
6.1
Cookies
6.1.1
Setting Unencrypted Cookies
6.1.2
Setting Encrypted Cookies
7
Security
8
Hosting
8.1
DigitalOcean
8.2
RStudio Connect
8.3
Docker
8.4
pm2
Appendix
A
All Annotations
B
Preprocessors
C
Programmatic Usage
D
Citations
Site hosting from Netlify
Creating APIs in R with Plumber
B
Preprocessors