Skip to content

ArnabChatterjee20k/DeepTech-Edu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Thought Api docs

Get event by its unique id

  GET /events/id=${id}
Parameter Type Description
id 12-byte BSON type hexadecimal string Required. Event id

Gets an event by its recency & paginate results by page number and limit of events per page

  GET /events/?type=latest&limit=${limit}&page=${page}
Parameter Type Description
limit int Required. Page Size
page int Required. Current Page

Creates an event and returns the Id of the event i.e. created

  POST /events/${id}
Parameter Type Description
id 12-byte BSON type hexadecimal string Required. Event id

example paylaod

  {
    "name":"bittu", 
    "files":{"image":"he"}, 
    "tagline":"arnab",
    "schedule":"arnab",
    "description":"asf",
    "moderator":"sf",
    "category":"sdf",
    "sub_category":"df",
    "rigor_rank":"dsf"
}

Update the event

  PUT /events/${id}
Parameter Type Description
id 12-byte BSON type hexadecimal string Required. Event id

example paylaod

  {
    "name":"bittu", 
    "files":{"image":"he"}, 
    "tagline":"arnab",
    "schedule":"arnab",
    "description":"asf",
    "moderator":"sf",
    "category":"sdf",
    "sub_category":"df",
    "rigor_rank":"dsf"
}

Deletes an event based on its Unique Id

  DELETE /events/${id}
Parameter Type Description
id 12-byte BSON type hexadecimal string Required. Event id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published