
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
redis-smq-rest-api
Advanced tools
RedisSMQ REST API offers an HTTP interface which allows any web capable application to interact with the RedisSMQ message queue using a RESTful API.
Currently, RedisSMQ REST API is distributed as an RC release and is still in active development.
To start using the REST API make sure that you are using the latest RedisSMQ V8 RC release.
npm i redis-smq-rest-api@rc --save
The REST API configuration extends RedisSMQ Configuration while adding the API server configuration.
export type THttpApiConfig = {
port?: number;
host?: string;
basePath?: string;
};
export interface IRedisSMQHttpApiConfig extends IRedisSMQConfig {
apiServer?: THttpApiConfig;
}
import { RedisSmqRestApi } from 'redis-smq-rest-api';
const config: IRedisSMQHttpApiConfig = {
redis: {
client: ERedisConfigClient.IOREDIS,
options: {
host: '127.0.0.1',
port: 6379,
},
},
apiServer: {
host: '127.0.0.1',
port: 7210
}
};
const apiServer = new RedisSmqRestApi(config);
apiServer.run();
Once your RedisSMQ API server is up and running you may view the API Reference and try it directly from
the Swagger UI which is accessible via http://<HOSTAME:PORT>/docs
.
The OpenAPI specification is available at http://<HOSTAME:PORT>/assets/openapi-specs.json
1.0.0-rc.2 (2024-05-17)
FAQs
A RESTful API for RedisSMQ
The npm package redis-smq-rest-api receives a total of 94 weekly downloads. As such, redis-smq-rest-api popularity was classified as not popular.
We found that redis-smq-rest-api demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.