Skip to content

API for the Call For Papers app for the JBCNConf www.jbcnconf.com ( JVM conference in Barcelona )

Notifications You must be signed in to change notification settings

barcelonajug/jbcn-cfp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jbcn-cfp-api

Operations

Login

url: /login method: POST authenticated: no

payload:

{
    "username":"username_to_login",
    "password":"password_to_login"
}

response:

{
    "status": true,
    "error": null,
    "data": {
        "token": "JWT_BASE64_TOKEN"
    }
    
}

errors: 'error.auth.username_mandatory' 'error.auth.password_mandatory'

Logout

url: /logout method: GET authenticated: no response:

{
    "status": true,
    "error": null
    
}

User Search

url: /user/search method: POST authenticated: yes

payload:

{
	"term":"term_of_search",
	"size":1,
	"page":0,
	"sort":"column_osrt",
	"asc":true
}

response:

{
  "status":true,
  "error": null,
  "data": {
    "size":10,
    "page":0,
    "sort":"column_sort",
    "total": 200,
    "totalPages": "20",
    "items": [
      {
        "_id":"USERID0",
        "username""username0",
        
      }
    ]
  }
}

About

API for the Call For Papers app for the JBCNConf www.jbcnconf.com ( JVM conference in Barcelona )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages