
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
missioncontrol-api
Advanced tools
The Mission Control API is the operational programming interface for SpaceAge.tv. It integrates the 3rd Party services on which our client operations depend.
see env.sample.sh for an example.
to configure your environment for development we recommend doing something along the lines of the following.
cp env.sample.sh env.${USER}.sh
vi env.${USER}.sh
source env.${USER}.sh
KEYGEN_ADMIN_KEY
- keygen admin key, can be retrieved from https://keygen.sh/docs/api/#policies-create as the Authorization header in the example requestMAILCHIMP_API_KEY
- mailchimp api key for sending transactional emailKEYGEN_VISIBOX_DEMO_POLICY_ID
- Keygen policy ID to use for Visibox Demos.MISSIONCONTROL_API
- base url for the mission control api, used for redirect linksnpm run dev
- run server with nodemon and live restart on code changes.npm start
- run the server using node, this is the way production should do.npm run test
- (TODO) run tests using mochaGET /health
indicates the health of the API including it's connectivity to 3rd Party services.
Request:
GET /health
Resposnse:
{
"version": "0.0.1",
"description": "missioncontol-api",
"status": "pass",
"details": {
"uptime": {
"component_type": "system",
"observed_value": 10.7687049,
"human_readable": "0 days, 0 hours, 0 minutes, 10 seconds",
"observed_unit": "s",
"status": "pass",
"time": "2021-02-01T20:05:09.137Z"
},
"mailchimp": {
"component_type": "component",
"observed_value": { "PING": "PONG!" },
"human_readable": { "PING": "PONG!" },
"observed_unit": "boolean",
"status": "pass",
"time": 1612209909280
},
"keygen": {
"component_type": "component",
"observed_value": "success",
"human_readable": "success",
"observed_unit": "connectivity",
"status": "pass",
"time": 1612209909384
}
}
}
GET /v1/releases/visibox/download/windows_64
POST /v1/licenses
create a new license, in practice this just creates a demo at this point. The Paddle Fulfillment Webhook handler directly creates paid liceses using the KeygenClient.
Request:
POST /licenses
{
"license": "demo",
"email": "user@domain.tld"
}
Resposnse:
GET /v1/redirect/activate
POST /v1/webhooks/paddle/alert
Paddle Alert Webhooks Handler - used to react to non-fulfillment events such as disputes and refunded payments.
POST /v1/webhooks/paddle/fulfillment
FAQs
missioncontol-api
The npm package missioncontrol-api receives a total of 0 weekly downloads. As such, missioncontrol-api popularity was classified as not popular.
We found that missioncontrol-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.