Ⓜ️
Matar
search
Ctrlk
  • ✍️About Matar
  • 📁Conceptchevron-right
  • 📁Matar For Communitieschevron-right
  • 📁🚀 Get Startedchevron-right
  • 📁Matar Featureschevron-right
  • 📁Developer Referencechevron-right
    • 🗄️Architecturechevron-right
    • 📜Guideschevron-right
    • 🛠️APIchevron-right
      • 📄API Flow
      • 📁User Loginchevron-right
      • 📄Organization Selection
      • 📄Language and Categories
      • 📄Activity Types
      • 📁Postschevron-right
    • 📶DB Tables and Structurechevron-right
    • 💻Backend Codechevron-right
    • 💻Frontend Codechevron-right
  • 🤝Support
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 📁Developer Referencechevron-right
  2. 🛠️API

📄API Flow

circle-info

Understand API Flow and see table of contents for all API's.


Here is an API Flow, try it in the sequence mentioned below:

  1. Provide User login Information and Send OTP

  2. Submit OTP for user creation

  3. Get created user details in the form of the access token

  4. Edit username/language/organization ID and provide an image for the user profile.

  5. Create a New Post(Question)

  6. Create a new child post(answer/replies)

  7. Like Dislike a Post(Post Any Activity Type)

  8. Get Post Activity for a Certain User.

  9. Get ChatGPT to answer the post.

  10. Get the list of Post(Question) Details for an organization ID

    • Get Post(Question) Details with Children(Answers/Replies)arrow-up-right

    • Get Post(Question) Details with Children (Answers/Replies)Offset(Limit Number of Replies)arrow-up-right

    • Get Posts by a Certain Categoryarrow-up-right

    • Get a List of Posts by a specified Userarrow-up-right


hashtag
Helper API's

  • Get a list of all organizations hosted on the network.arrow-up-right

  • Get a list of all languages in which posts are available.arrow-up-right

  • Get all categories for posts.arrow-up-right

  • Get a list of activity Types for a post.arrow-up-right

PreviousAPIchevron-leftNextUser Loginchevron-right

Last updated 1 year ago