gitconnected / gitconnected-feedback

Share issues and features requests for gitconnected.com
https://gitconnected.com
9 stars 2 forks source link

Feature Request: Update Portfolio via API #71

Open fadhilx opened 2 years ago

fadhilx commented 2 years ago

right now we can just read the API, but what if we already have a website as data center, and we want to update gitConnected portfolio from there. it will be nice if we can send update by calling the API using POST/PUT method like this:

 PUT https://gitconnected.com/v1/portfolio/johndoe/

request body:

{
 "skills": [
   {
      "name": "Next.js",
      "level": "Advanced",
      "keywords": [],
      "rating": 4,
      "yearsOfExperience": 2
    },
    ....
  ],
  ...
}

We might need authorization token in request header(which can be obtain on profile page): Authorization: Bearer PJeBmgq0rKDZhzjcjHO...