Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api_client
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
api_client
Merge requests
!126
Updates for new API Demo instance
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Updates for new API Demo instance
issue/api_client-3463807:demo-instance
into
canary
Overview
0
Commits
4
Pipelines
1
Changes
28
Merged
Brian Perry
requested to merge
issue/api_client-3463807:demo-instance
into
canary
9 months ago
Overview
0
Commits
4
Pipelines
1
Changes
28
Expand
0
0
Merge request reports
Compare
canary
canary (base)
and
latest version
latest version
7585e022
4 commits,
9 months ago
28 files
+
126
−
208
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
28
Search (e.g. *.vue) (Ctrl+P)
docs/public/UmamiArticles.js
+
2
−
2
Options
@@ -12,7 +12,7 @@ class LitUmamiArticles extends LitElement {
super
.
connectedCallback
()
const
client
=
new
JsonApiClient
(
"
https://
dev-
drupal-api-
client-poc.pantheonsite.io
"
,
"
https://drupal-api-
demo.party
"
,
);
this
.
articles
=
await
client
.
getCollection
(
"
node--article
"
);
}
@@ -46,7 +46,7 @@ class UmamiArticles extends HTMLElement {
// Retrieve data from Drupal
const
client
=
new
JsonApiClient
(
"
https://
dev-
drupal-api-
client-poc.pantheonsite.io
"
,
"
https://drupal-api-
demo.party
"
,
);
const
articles
=
await
client
.
getCollection
(
"
node--article
"
);
Loading