openapi: 3.0.3 info: title: 'ZeroOCD API Documentation' description: 'Laravel API for the ZeroOCD Project (VU and Orb Amsterdam)' version: 1.0.0 servers: - url: 'https://zeroocd.psy.vu.nl' tags: - name: Endpoints description: '' paths: /api/docs/login: post: summary: '' operationId: postApiDocsLogin description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false security: [] /api/docs/reply: post: summary: '' operationId: postApiDocsReply description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false question_id: type: required description: 'string The question id.' example: RandomString nullable: false answer: type: required description: 'string The answer.' example: Test nullable: false datetime: type: required description: 'string The datetime.' example: Test nullable: false security: [] /api/docs/module: post: summary: '' operationId: postApiDocsModule description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false module_id: type: required description: 'string The Module ID.' example: Test nullable: false duration: type: required description: 'string The duration.' example: Test nullable: false datetime: type: required description: 'string The datetime.' example: Test nullable: false security: [] /api/docs/archoice: post: summary: '' operationId: postApiDocsArchoice description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false ar_type: type: required description: 'string The AR type.' example: Test nullable: false datetime: type: required description: 'string The datetime.' example: Test nullable: false security: [] /api/docs/ar: post: summary: '' operationId: postApiDocsAr description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false ar_type: type: required description: 'string The AR type.' example: Test nullable: false ar_level: type: required description: 'string The AR level.' example: Test nullable: false datetime: type: required description: 'string The date.' example: Test nullable: false duration: type: required description: 'string The duration.' example: Test nullable: false security: [] /api/docs/disgustlevel: post: summary: '' operationId: postApiDocsDisgustlevel description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false ar_level: type: required description: 'string The AR level.' example: Test nullable: false ar_type: type: required description: 'string The AR type.' example: Test nullable: false datetime: type: required description: 'string The date.' example: Test nullable: false disgust_level: type: required description: 'string The level of disgust.' example: Test nullable: false security: [] /api/docs/anxietylevel: post: summary: '' operationId: postApiDocsAnxietylevel description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false ar_level: type: required description: 'string The AR level.' example: Test nullable: false ar_type: type: required description: 'string The AR type.' example: Test nullable: false datetime: type: required description: 'string The datetime.' example: Test nullable: false anxiety_level_before_ar: type: string description: 'The anxiety level at the start.' example: Test nullable: false anxiety_level_after_ar: type: string description: 'The anxiety level at the end.' example: Test nullable: false security: [] /api/docs/daily: post: summary: '' operationId: postApiDocsDaily description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: secret: type: required description: 'string Hashed secret.' example: '1234' nullable: false user_id: type: required description: 'string The user ID of the participant of the participant.' example: '1001' nullable: false datetime: type: required description: 'string The date.' example: Test nullable: false anxiety_level: type: required description: 'string The anxiety level at the start of the session.' example: Test nullable: false security: []