Design documents are used to store one ore more view definitions. Views can be defined within a design document and uploaded to the server through the REST API.