This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Sphere/app/api/endpoints.js

10 lines
248 B
JavaScript
Raw Normal View History

2016-02-06 12:42:19 +00:00
import { Map } from 'immutable';
import UrlAssembler from 'url-assembler';
const URL_BASE = UrlAssembler('https://circleci.com/api/v1');
export default Map({
2016-02-10 22:42:45 +00:00
USER_INFO: URL_BASE.segment('/me'),
ALL_PROJECTS: URL_BASE.segment('/projects')
2016-02-06 12:42:19 +00:00
});