GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ashraf789/DIUSPPAPI: REST API BY Slim 3 framework University course project DIUSPP(DIU Student Project Portal)

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
app/api
app/api
 
 
logs
logs
 
 
public
public
 
 
src
src
 
 
templates
templates
 
 
tests/Functional
tests/Functional
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.pdf
README.pdf
 
 
command for live host.txt
command for live host.txt
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
docker-compose.yml
docker-compose.yml
 
 
htaccess
htaccess
 
 
phpunit.xml
phpunit.xml
 
 
projectmanagement.sql
projectmanagement.sql
 
 

Repository files navigation

DIUSPP API Documentation (Beta) Version v1.0

Build Status StyleCI

API hosted site: https://lazycoderbd.000webhostapp.com/

API key

{
    ‘x-api-key’: ‘4c25ec36e94e5be888d4b029cab8febc’
}

1. Documentation

Read documentation
URL: __Site URL__/api/documentation/read/{project_id}
Request Type: GET
Example: https://lazycoderbd.000webhostapp.com/api/documentation/read/{project_id}
Add new documentation
URL: __Site URL__/api/documentation/add
Request Type: POST
Parameter: {
“documentation " : "",
" project_id " : "",
" user_id " : ""
}
Update documentation
URL: __Site URL__/api/documentation/update/{id}
Request Type: PUT
Parameter: {
“documentation " : "",
" project_id " : "",
" user_id " : ""
}
Delete documentation
URL: __Site URL__/api/documentation/delete/{id}
Request Type: DELETE 

2. Feature

Read Feature
URL: __Site URL__/api/feature/read/{project_id}
Request Type: GET
Add new Feature
URL: __Site URL__/api/feature/add
Request Type: POST
Parameter: {
“feature " : "",
" project_id " : "",
" user_id " : ""
}
Update Feature
URL: __Site URL__/api/feature/update/{id}
Request Type: PUT
Parameter: {
“feature " : "",
" project_id " : "",
" user_id " : ""
}
Delete Feature
URL: __Site URL__/api/feature/delete/{id}
Request Type: DELETE

3. Presentation

Read presentation
URL: __Site URL__/api/presentation/read/{project_id}
Request Type: GET
Add new presentation
URL: __Site URL__/api/presentation/add
Request Type: POST
Parameter: {
“presentation" : "",
" project_id " : "",
" user_id " : ""
}
Update presentation
URL: __Site URL__/api/presentation/update/{id}
Request Type: PUT
Parameter: {
“presentation " : "",
" project_id " : "",
" user_id " : ""
}
Delete presentation
URL: __Site URL__/api/presentation/delete/{id}
Request Type: DELETE4. Proposal
Read proposal
URL: __Site URL__/api/proposal/read/{project_id}
Request Type: GET
Add new proposal
URL: __Site URL__/api/proposal/add
Request Type: POST
Parameter: {
“proposal " : "",
" project_id " : "",
" user_id " : ""
}
Update proposal
URL: __Site URL__/api/proposal/update/{id}
Request Type: PUT
Parameter: {
“proposal " : "",
" project_id " : "",
" user_id " : ""
}
Delete proposal
URL: __Site URL__/api/proposal/delete/{id}
Request Type: DELETE

5. Review

Read review
URL: __Site URL__/api/review/read/{project_id}
Request Type: GET
Add new review
URL: __Site URL__/api/review/add
Request Type: POST
Parameter: {
“review " : "",
" project_id " : "",
" user_id " : ""
}
Update review
URL: __Site URL__/api/review/update/{id}
Request Type: PUT
Parameter: {
“review " : "",
" project_id " : "",
" user_id " : ""
}
Delete review
URL: __Site URL__/api/review/delete/{id}
Request Type: DELETE

6. SRS

Read SRS
URL: __Site URL__/api/srs/read/{project_id}
Request Type: GET
Add new SRS
URL: __Site URL__/api/srs/add
Request Type: POST
Parameter: {
“srs " : "",
" project_id " : "",
" user_id " : ""
}
Update SRS
URL: __Site URL__/api/srs/update/{id}
Request Type: PUT
Parameter: {
“srs " : "",
" project_id " : "",
" user_id " : ""
}
Delete SRS
URL: __Site URL__/api/srs/delete/{id}
Request Type: DELETE

7. Project

Read project by id
URL: __Site URL__/api/project/read/{id}
Request Type: GET
Read all project
URL: __Site URL__/api/project/read
Request Type: GET
Add new project
URL: __Site URL__/api/project/add
Request Type: POST
Parameter: {
“p_name" : ",
"p_group " : ",
" p_slug" : ",
"p_semester" : ",
" p_subject" : ",
" p_catagory " : ",
" p_language" : ",
" p_framework" : ",
"p_admin_id " : "
}
Update project
URL: __Site URL__/api/project/update/{id}
Request Type: PUT
Parameter: {
“p_name" : ",
"p_group " : ",
" p_slug" : ",
"p_semester" : ",
" p_subject" : ",
" p_catagory " : ",
" p_language" : ",
" p_framework" : ",
"p_admin_id " : "
}
Delete project
URL: __Site URL__/api/project/delete/{id}
Request Type: DELETE

8. Group

Read group by project ID
URL: __Site URL__/api/group/read/byprojectid/{project_id}
Request Type: GET
Read group by admin ID
URL: __Site URL__/api/group/read/byadminid/{admin_id}
Request Type: GET
Read all group
URL: __Site URL__/api/group/read
Request Type: GET
Add new group
URL: __Site URL__/api/group/add
Request Type: POST
Parameter: {
"requirement_engineer" : ",
"programer " : ",
"designer " : ",
"tester " : ",
"project_manager " : ",
"srs " : ",
"proposal " : ",
"documentation " : ",
"project_id" : ",
"admin_id " : "
}
Update group
URL: __Site URL__/api/group/update/{id}
Request Type: PUT
Parameter: {
"requirement_engineer" : ",
"programer " : ",
"designer " : ",
"tester " : ",
"project_manager " : ",
"srs " : ",
"proposal " : ",
"documentation " : ",
}
Delete group
URL: __Site URL__/api/group/delete/{id}
Request Type: DELETE

9. Authentication

Sign In
URL: __Site URL__/api/login
Request Type: POST
Parameter: {
" u_email " : "",
" u_password " : ""
}
Sign Up
URL: __Site URL__/api/signup
Request Type: POST
Parameter: {
"name" : "",
"email" : "",
"password" : "",
"remember_token" : ""
}

Screenshot of API testing

Get method

POST Method

PUT Method

DELETE Method

Some Common Mistake Error Screenshot

Forget to add x-api-key into header

Invalid API key error

Forget to add required parameter

Invalid ID


License

This project is licensed under the MIT License - see the License File for details

About

REST API BY Slim 3 framework University course project DIUSPP(DIU Student Project Portal)

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

1 star

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.