
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
@ember-data/rest
Advanced tools
WarpDrive is the lightweight data library for web apps —
universal, typed, reactive, and ready to scale.
Elegantly composable. Made for RESTful APIs
[!WARNING] ⚠️ This package only exists for backwards compatibility
Newer apps should use @warp-drive/utilities
This package provides utilities for working with RESTful APIs with EmberData.
Install using your javascript package manager of choice. For instance with pnpm
pnpm add @ember-data/rest
Tagged Releases
If this package is how you are first learning about EmberData, we recommend starting with learning about the Store and Requests
Request builders are functions that produce Fetch Options. They take a few contextual inputs about the request you want to make, abstracting away the gnarlier details.
For instance, to fetch a resource from your API
import { findRecord } from '@ember-data/rest/request';
const options = findRecord('ember-developer', '1', { include: ['pets', 'friends'] });
/*
=> {
url: 'https://api.example.com/v1/emberDevelopers/1?include=friends,pets',
method: 'GET',
headers: <Headers>, // 'Content-Type': 'application/json;charset=utf-8'
op: 'findRecord';
records: [{ type: 'ember-developer', id: '1' }]
}
*/
Request builder output may be used with either requestManager.request or store.request.
URLs are stable. The same query will produce the same URL every time, even if the order of keys in the query or values in an array changes.
URLs follow the most common REST format (camelCase pluralized resource types).
FAQs
REST Format Support for EmberData
The npm package @ember-data/rest receives a total of 242 weekly downloads. As such, @ember-data/rest popularity was classified as not popular.
We found that @ember-data/rest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.