openapi: 3.2.0 info: title: InstiApp Verifier Events API description: InstiApp IIT Bombay API termsOfService: https://insti.app/tos.html contact: email: devcom@iitb.ac.in license: name: AGPLv3 version: v1 servers: - url: https://gymkhana.iitb.ac.in/instiapp/api security: - Basic: [] tags: - name: verifier_events paths: /verifier-events: parameters: [] get: operationId: verifier_events description: Get only pending events that the current verifier can approve. responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/EventFull' tags: - verifier_events summary: Verifier events x-summary-source: derived components: schemas: BodySerializerMin: required: - name type: object properties: id: title: Id type: string format: uuid readOnly: true str_id: title: Str id type: - string - 'null' readOnly: true minLength: 1 name: title: Name type: string maxLength: 50 minLength: 1 short_description: title: Short description type: string maxLength: 50 website_url: title: Website url type: - string - 'null' format: uri maxLength: 200 image_url: title: Image url type: - string - 'null' format: uri maxLength: 200 cover_url: title: Cover url type: - string - 'null' format: uri maxLength: 200 followers_count: title: Followers count type: string readOnly: true short_name: title: Short name type: - string - 'null' maxLength: 20 EventFull: required: - name - verification_bodies_id - start_time - end_time - bodies_id - interests_id type: object properties: id: title: Id type: string format: uuid readOnly: true str_id: title: Str id type: - string - 'null' readOnly: true minLength: 1 name: title: Name type: string maxLength: 60 minLength: 1 tags: title: Tags type: - string - 'null' enum: - event - announcement description: title: Description type: string email_subject: title: Email subject type: string minLength: 1 longdescription: title: Longdescription type: string minLength: 1 email_verified: title: Email verified type: boolean email_rejected: title: Email rejected type: boolean verification_bodies: type: array items: $ref: '#/components/schemas/BodySerializerMin' readOnly: true verification_bodies_id: type: array items: type: string format: uuid uniqueItems: true image_url: title: Image url type: - string - 'null' format: uri maxLength: 200 start_time: title: Start time type: string format: date-time end_time: title: End time type: string format: date-time all_day: title: All day type: boolean venues: type: array items: $ref: '#/components/schemas/LocationSerializerMin' readOnly: true venue_room: title: Venue room type: - string - 'null' venue_names: type: array items: type: string readOnly: true uniqueItems: true bodies: type: array items: $ref: '#/components/schemas/BodySerializerMin' readOnly: true bodies_id: type: array items: type: string format: uuid uniqueItems: true interested_count: title: Interested count type: integer readOnly: true going_count: title: Going count type: integer readOnly: true interested: title: Interested type: string readOnly: true going: title: Going type: string readOnly: true venue_ids: type: array items: type: string format: uuid uniqueItems: true website_url: title: Website url type: - string - 'null' format: uri maxLength: 200 user_ues: title: User ues type: string readOnly: true notify: title: Notify type: boolean user_tags: type: array items: type: integer default: [] uniqueItems: true offered_achievements: type: array items: $ref: '#/components/schemas/OfferedAchievement' readOnly: true event_interest: type: array items: $ref: '#/components/schemas/Interest' readOnly: true interests_id: type: array items: type: string format: uuid uniqueItems: true verification_status: title: Verification status type: string readOnly: true minLength: 1 rejection_reason: title: Rejection reason type: string default: '' time_of_creation: title: Time of creation type: string format: date-time readOnly: true OfferedAchievement: required: - title - body - event type: object properties: id: title: Id type: string format: uuid readOnly: true priority: title: Priority type: integer maximum: 2147483647 minimum: -2147483648 title: title: Title type: string maxLength: 80 minLength: 1 description: title: Description type: string body: title: Body type: string format: uuid event: title: Event type: string format: uuid generic: title: Generic type: string maxLength: 20 minLength: 1 LocationSerializerMin: required: - name type: object properties: id: title: Id type: string format: uuid readOnly: true name: title: Name type: string maxLength: 150 minLength: 1 short_name: title: Short name type: - string - 'null' maxLength: 80 lat: title: Lat type: - string - 'null' format: decimal lng: title: Lng type: - string - 'null' format: decimal Interest: required: - title type: object properties: id: title: Id type: string format: uuid readOnly: true title: title: Title type: string maxLength: 80 minLength: 1 securitySchemes: Basic: type: http scheme: basic