{"id":34966699,"url":"https://github.com/florianajir/kali-sku-server","last_synced_at":"2026-05-24T19:01:28.478Z","repository":{"id":68894199,"uuid":"42100100","full_name":"florianajir/kali-sku-server","owner":"florianajir","description":"Provide SKU management API server (powered by PHP)","archived":false,"fork":false,"pushed_at":"2016-01-15T09:32:05.000Z","size":269,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T11:24:36.907Z","etag":null,"topics":["management","php","server","sku"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florianajir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-08T08:34:55.000Z","updated_at":"2023-02-14T14:38:37.000Z","dependencies_parsed_at":"2023-05-15T06:00:48.980Z","dependency_job_id":null,"html_url":"https://github.com/florianajir/kali-sku-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/florianajir/kali-sku-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianajir%2Fkali-sku-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianajir%2Fkali-sku-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianajir%2Fkali-sku-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianajir%2Fkali-sku-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florianajir","download_url":"https://codeload.github.com/florianajir/kali-sku-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianajir%2Fkali-sku-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33446621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T18:26:54.182Z","status":"ssl_error","status_checked_at":"2026-05-24T18:26:53.408Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["management","php","server","sku"],"created_at":"2025-12-26T23:12:05.530Z","updated_at":"2026-05-24T19:01:28.436Z","avatar_url":"https://github.com/florianajir.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kali-Server\n\nKali-Server provides a RESTful API centralizing SKU allocation and management for web-applications.\n\n- [kali-client](https://github.com/1001Pharmacies/kali-client) The official *Symfony bundle* kali client\n- [API doc](resources/doc/api/v1.0/index.md)\n- [Commands](resources/doc/api/commands.md)\n\n## Summary\n\n- [Install](resources/doc/api/install.md)\n- [Generate a Client](resources/doc/api/usage.md)\n- [Root Endpoint](#root-endpoint)\n- [HTTP Verbs](#http-verbs)\n- [Authentication](#authentication)\n    -    [Request token](#request-token)\n        -    [Returned JSON](#returned-json)\n    -    [Use token to fetch API](#request-token)\n        -    [Request route](#request-route)\n        -    [Headers parameters](#headers-parameters)\n        -    [CLI example](#cli-example)\n\n## Overview\n\n## Root Endpoint\n\n### API \n\n```ShellSession\n\"https://{projectDomain}/api\"\n```\n\n### API Doc \n\n```ShellSession\n\"https://{projectDomain}/doc\"\n```\n\n## HTTP Verbs\n\nWhere possible, API strives to use appropriate HTTP verbs for each action.\n\n| Verb     | Description                           |\n| :------- | :------------------------------------ |\n| GET      | Used for retrieving sku resources.    |\n| POST     | Used for creating sku resources.      |\n| PUT      | Used for updating sku resources.      |\n| DELETE   | Used for deleting sku resources.      |\n\n## Authentication\n\nKali server use a strict Oauth2 'client_credentials' authentication.\nYou have to generate a client to recieve a public and secret key to request a valid token to fetch the API.\nThis token expires after 1 hour by default, so you'll have to request another one.\n\n### Request Token\n\n```HTTP\nGET https://{projectDomain}/oauth/v2/token?client_id={your public key}\u0026client_secret={your secret key}\u0026grant_type=client_credentials\n```\n\n#### Returned JSON\n\n```JSON\n{\n    \"access_token\": \"{your access token}\",\n    \"expires_in\": 3600,\n    \"token_type\": \"bearer\",\n    \"scope\": null\n}\n```\n\n### Use Token to fetch API\n\n#### Request Route\n\n```HTTP\nPOST https://{projectDomain}/api\n```\n\n#### Headers parameters\n\n| Name           | Type   | Description                                   |\n| :------------- | :----- | :-------------------------------------------- |\n| Authorization  | string | 'Bearer {the access token }'                  |\n\n#### CLI example\n\n```ShellSession\ncurl -H \"Authorization: Bearer {access_token}\" https://{projectDomain}/api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianajir%2Fkali-sku-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianajir%2Fkali-sku-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianajir%2Fkali-sku-server/lists"}