# LocalGov Drupal implementation

**URL:** <https://forum.openreferral.org/t/localgov-drupal-implementation/106>\
**Category:** Technical\
**Tags:** api\
**Created:** [June 22, 2021, 9:19am UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106 "2021-06-22T09:19:54Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![ekes](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@ekes](https://forum.openreferral.org/u/ekes)\
**Post date:** [July 20, 2021, 12:07pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/21 "2021-07-20T12:07:04Z")

</div>

> [@MikeThacker-iStandUK](#):
>
> It would be nice to see something like:  
> [https://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42-61a2c681-f994-4108-9c6c-f525cd67774a](https://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42-61a2c681-f994-4108-9c6c-f525cd67774a)  
> return a result.

What should that return? That looks like a service\_at\_location identifier maybe?  
A service identifier is shorter and would, does, look like [http://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42](http://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42)

---

<div class="post-metadata">

**Author:** ![MikeThacker-iStandUK](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openreferral.org/mikethacker-istanduk/32/8_2.png) [@MikeThacker-iStandUK](https://forum.openreferral.org/u/MikeThacker-iStandUK)\
**Post date:** [July 20, 2021, 12:28pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/22 "2021-07-20T12:28:43Z")

</div>

Ahh, my mistake, I used the wrong identifier. Sorry.

[http://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42](http://openreferral.localgovdrupal.org/openreferral/v1/services/c05a7f66-ffd8-4181-9129-1b1bc7f03b42) is great.

---

<div class="post-metadata">

**Author:** ![ekes](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@ekes](https://forum.openreferral.org/u/ekes)\
**Post date:** [July 20, 2021, 5:06pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/23 "2021-07-20T17:06:52Z")

</div>

> [@ekes](#):
>
> I’ve written up notes [draft- [Open Referral and LocalGov Drupal | LocalGov Drupal Docs](https://deploy-preview-55--trusting-noyce-aebebc.netlify.app/blog/openreferral.html)] about the technical implementation. That’ll be getting a proper home, permanent url, on the blog soon.

[https://localgovdrupal.org/blog/openreferral.html](https://localgovdrupal.org/blog/openreferral.html)

---

<div class="post-metadata">

**Author:** ![MikeThacker-iStandUK](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openreferral.org/mikethacker-istanduk/32/8_2.png) [@MikeThacker-iStandUK](https://forum.openreferral.org/u/MikeThacker-iStandUK)\
**Post date:** [July 21, 2021, 4:51pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/24 "2021-07-21T16:51:09Z")

</div>

Brilliant @ekes we’ll try to add the sample feed to our dashboard and then consider wider publicity.

---

<div class="post-metadata">

**Author:** ![ekes](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@ekes](https://forum.openreferral.org/u/ekes)\
**Post date:** [July 22, 2021, 11:17am UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/25 "2021-07-22T11:17:00Z")

</div>

The [http://openreferral.localgovdrupal.org/](http://openreferral.localgovdrupal.org/) domain will probably go when the module is part of the default install, at which point it will be enabled on [https://demo.localgovdrupal.org/](https://demo.localgovdrupal.org/)

I don’t wonder if we can’t get a bit more representative sample data into the demo. Maybe including one of the vocabularies too.

---

<div class="post-metadata">

**Author:** ![MikeThacker-iStandUK](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openreferral.org/mikethacker-istanduk/32/8_2.png) [@MikeThacker-iStandUK](https://forum.openreferral.org/u/MikeThacker-iStandUK)\
**Post date:** [July 22, 2021, 2:52pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/26 "2021-07-22T14:52:20Z")

</div>

Better sample data would be great. If you need help with assigning vocabulary terms (eg from an LGA vocabulary) or with anything else, let me know.

---

<div class="post-metadata">

**Author:** ![Dominic](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openreferral.org/dominic/32/39_2.png) [@Dominic](https://forum.openreferral.org/u/Dominic)\
**Post date:** [August 12, 2021, 1:55pm UTC](https://forum.openreferral.org/t/localgov-drupal-implementation/106/27 "2021-08-12T13:55:45Z")

</div>

I have just looked at the [API Query Tool](https://tools.openreferraluk.org/ApiQuery/). Unfortunately, your API doesn’t work on this tool. This is because the tool requires a CORS headers and so isn’t compatible with our JavaScript powered tool. Fortunately though it should be a quick fix.

It has been talked in the office about making a CORS header part of the standard to make it as widely accessible as possible.

[Previous page](https://forum.openreferral.org/t/localgov-drupal-implementation/106.md?page=1)
