Skip to content

[Question2Answer plugin] Creates simple API and serve some data as JSON

License

Notifications You must be signed in to change notification settings

codeblot-llc/q2a-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API plugin to Question2Answer

Creates simple API and serve some data as JSON.

Tested on Q2A version >= 1.7.0 and PHP >= 7.0. Code style adjusted to Q2A style.

Installation

Clone or download this repository or selected release to qa-plugin directory in your Q2A.

Available endpoints

  • /api/favorites - get favorites data for logged user: users, questions, tags and categories
    {
        "questions": ["2", "1"],
        "users": ["Example username"],
        "tags": ["Example tag 1", "Example tag 2"],
        "categories": ["Example category"]
    }

About

[Question2Answer plugin] Creates simple API and serve some data as JSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%