<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How do I access my REST builder application</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121497515" />
  <subtitle>How do I access my REST builder application</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121497515</id>
  <updated>2026-04-04T04:57:31Z</updated>
  <dc:date>2026-04-04T04:57:31Z</dc:date>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498501" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498501</id>
    <updated>2022-08-17T17:34:29Z</updated>
    <published>2022-08-17T17:34:28Z</published>
    <summary type="html">&lt;p&gt;It's probably worth a shot to test a quick refactor.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-08-17T17:34:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498402" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498402</id>
    <updated>2022-08-17T16:15:05Z</updated>
    <published>2022-08-17T16:15:05Z</published>
    <summary type="html">&lt;p&gt;scr:info gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
  &lt;b&gt;Output&lt;/b&gt;&lt;/p&gt;
&lt;pre&gt;
Component Description: gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication
====================================================================================================
Class:         gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication
Bundle:        1671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0)
Enabled:       true
Immediate:     false
Services:      [javax.ws.rs.core.Application]
Scope:         singleton
Config PID(s): [gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication], Policy: optional
Base Props:    (4 entries)
  liferay.jackson&amp;lt;String&amp;gt; = false
  osgi.jaxrs.application.base&amp;lt;String&amp;gt; = /dl-service
  osgi.jaxrs.extension.select&amp;lt;String&amp;gt; = (osgi.jaxrs.name=Liferay.Vulcan)
  osgi.jaxrs.name&amp;lt;String&amp;gt; = DlService

Component Configuration Id: 10731
---------------------------------
State:        ACTIVE
Service:      (total 4)
  20377 [javax.ws.rs.core.Application]
    Used by bundle 1489 (org.apache.aries.jax.rs.whiteboard:2.0.0)20378 [org.osgi.service.http.context.ServletContextHelper]
    Used by bundle 536 (com.liferay.portal.security.auth.verifier:6.0.14)
    Used by bundle 1489 (org.apache.aries.jax.rs.whiteboard:2.0.0)20381 [javax.servlet.Servlet]
    Used by bundle 77 (org.eclipse.equinox.http.servlet:1.2.2.v20211119-2358-LIFERAY-CACHED)20388 [com.liferay.oauth2.provider.scope.spi.scope.finder.ScopeFinder]
    Used by bundle 756 (com.liferay.oauth2.provider.scope.impl:4.0.17)
Config Props: (6 entries)
  component.id&amp;lt;Long&amp;gt; = 10731
  component.name&amp;lt;String&amp;gt; = gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication
  liferay.jackson&amp;lt;String&amp;gt; = false
  osgi.jaxrs.application.base&amp;lt;String&amp;gt; = /dl-service
  osgi.jaxrs.extension.select&amp;lt;String&amp;gt; = (osgi.jaxrs.name=Liferay.Vulcan)
  osgi.jaxrs.name&amp;lt;String&amp;gt; = DlService
References:   (total 0)&lt;/pre&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T16:15:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498353" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498353</id>
    <updated>2022-08-17T16:12:57Z</updated>
    <published>2022-08-17T16:12:56Z</published>
    <summary type="html">&lt;p&gt;If I run: scr:info DlService I get an error:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Error:&lt;/strong&gt; Multiple components matching
  &amp;quot;DlService&amp;quot;:
  [com.liferay.document.library.internal.upgrade.registry.DLServiceUpgradeStepRegistrator,
  gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.FolderResourceImpl,
  gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.OpenAPIResourceImpl,
  gov.nasa.hq.liferay.dlservice.internal.graphql.servlet.v1_0.ServletDataImpl,
  com.liferay.document.library.internal.verify.DLServiceVerifyProcess,
  gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication,
  com.liferay.dynamic.data.lists.internal.upgrade.registry.DDLServiceUpgradeStepRegistrator, gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.factory.FolderResourceFactoryImpl]&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Could the problem be a name conflict?&lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T16:12:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498304" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498304</id>
    <updated>2022-08-17T16:10:25Z</updated>
    <published>2022-08-17T16:10:25Z</published>
    <summary type="html">&lt;p&gt;Here is the output from the impl bundle, all seem to be active:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;
gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.FolderResourceImpl in bundle 1,671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0) enabled, 1 instance.
    Id: 10732, State:ACTIVE
gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.OpenAPIResourceImpl in bundle 1,671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0) enabled, 1 instance.
    Id: 10733, State:ACTIVE
gov.nasa.hq.liferay.dlservice.internal.graphql.servlet.v1_0.ServletDataImpl in bundle 1,671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0) enabled, 1 instance.
    Id: 10730, State:ACTIVE
gov.nasa.hq.liferay.dlservice.internal.jaxrs.application.DlServiceApplication in bundle 1,671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0) enabled, 1 instance.
    Id: 10731, State:ACTIVE
gov.nasa.hq.liferay.dlservice.internal.resource.v1_0.factory.FolderResourceFactoryImpl in bundle 1,671 (gov.nasa.hq.liferay.dlservice.impl:1.0.0) enabled, 1 instance.
    Id: 10734, State:ACTIVE&lt;/pre&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T16:10:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498253" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498253</id>
    <updated>2022-08-17T15:45:21Z</updated>
    <published>2022-08-17T15:45:20Z</published>
    <summary type="html">&lt;p&gt;Use &lt;em&gt;scr:list &amp;lt;bundle id&amp;gt;&lt;/em&gt; to list all of the OSGi
  component services in the bundle and ensure that all of the components
  are active.&lt;/p&gt;
&lt;p&gt;If there are some that are not, use &lt;em&gt;scr:info &amp;lt;service
  id&amp;gt;&lt;/em&gt; to see what problems they may have....&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2022-08-17T15:45:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498154" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498154</id>
    <updated>2022-08-17T15:04:21Z</updated>
    <published>2022-08-17T15:04:20Z</published>
    <summary type="html">&lt;p&gt;So you'd use the baseURI value in your URL; in my example the baseURI
  was the headless-form part. But if your enpoint isn't showing up in
  the API explorer (probably also under a menu item named after the
  baseURI) there may be some other issue.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-08-17T15:04:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498105" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498105</id>
    <updated>2022-08-17T14:57:24Z</updated>
    <published>2022-08-17T14:57:23Z</published>
    <summary type="html">&lt;p&gt;My application doesn't seem to show up there. It does show up in the
  gogo shell though.&lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T14:57:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498056" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498056</id>
    <updated>2022-08-17T14:55:22Z</updated>
    <published>2022-08-17T14:55:21Z</published>
    <summary type="html">&lt;p&gt;I do have the baseURI property, it's in a separate file, rest-config.yaml:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;apiDir: &amp;quot;../dl-service-api/src/main/java&amp;quot;&lt;br /&gt;
  apiPackagePath: &amp;quot;gov.nasa.hq.liferay.dlservice&amp;quot;&lt;br /&gt;
  application:&lt;br /&gt;     baseURI: &amp;quot;/dl-service&amp;quot;&lt;br /&gt;    
  className: &amp;quot;DlServiceApplication&amp;quot;&lt;br /&gt;     name:
  &amp;quot;DlService&amp;quot;&lt;br /&gt; author: &amp;quot;sweiss&amp;quot;&lt;br /&gt;
  clientDir: &amp;quot;../dl-service-client/src/main/java&amp;quot;&lt;br /&gt;
  testDir: &amp;quot;../dl-service-test/src/testIntegration/java&amp;quot;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T14:55:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498002" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121498002</id>
    <updated>2022-08-17T14:44:03Z</updated>
    <published>2022-08-17T14:44:02Z</published>
    <summary type="html">&lt;p&gt;An easy way to find this kind of detail is to just use the API
  explorer at /o/api&lt;/p&gt;
&lt;p&gt;It can show you how Liferay presents your RESTBuilder solution, plus
  you can even run some active tests...&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2022-08-17T14:44:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497923" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497923</id>
    <updated>2022-08-17T14:28:17Z</updated>
    <published>2022-08-17T14:28:17Z</published>
    <summary type="html">&lt;p&gt;Thanks Russell. I hadn't seen that documentation before, it looks a
  bit more thorough than the one I found: https://help.liferay.com/hc/en-us/articles/360028748872-Generating-APIs-with-REST-Builder&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'll look through it, thanks again.&lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-17T14:28:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497866" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497866</id>
    <updated>2022-08-17T14:08:25Z</updated>
    <published>2022-08-17T14:08:24Z</published>
    <summary type="html">&lt;p&gt;I'm not familiar with building REST APIs, but for example, this is
  how I'd call a URL to a forms endpoint:&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;curl -X 'GET'
    'http://localhost:8080/o/headless-form/v1.0/sites/20121/[SiteId]'
     -u '[me@liferay.com:myPass]'&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Site Id, user name, and password will vary of course. It's not a
  great example because it's a deprecated API, but it gets the point across.&lt;/p&gt;
&lt;p&gt;Your URL structure looks different, in that it's missing the
  &lt;code&gt;baseURI&lt;/code&gt; after the /o/ (defined in a
  &lt;code&gt;rest-config.yaml&lt;/code&gt; as I seein Liferay's src code and &lt;a
    href="https://learn.liferay.com/dxp/latest/en/headless-delivery/apis-with-rest-builder/producing-and-implementing-apis-with-rest-builder.html#yaml-configuration"&gt;the documentation&lt;/a&gt;).&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-08-17T14:08:24Z</dc:date>
  </entry>
  <entry>
    <title>How do I access my REST builder application</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497514" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121497514</id>
    <updated>2022-08-16T20:58:36Z</updated>
    <published>2022-08-16T20:58:36Z</published>
    <summary type="html">&lt;p&gt;I've built an application using REST builder using DeveloperStudio
  3.9.7. It compiled and deployed to LR 7.4 (liferay-dxp-7.4.13.u36/)
  without any errors. It shows up in the gogo shell when I run
  &amp;quot;jaxrs:check&amp;quot; (see attached screen capture). My
  rest-openapi.yaml file is as follows:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;info:&lt;br /&gt;    description: DlService REST API&lt;br /&gt;  
   license:&lt;br /&gt;       name: Apache 2.0&lt;br /&gt;       url:
  http://www.apache.org/licenses/LICENSE-2.0.html&lt;br /&gt;    title:
  DlService&lt;br /&gt;    version: v1.0&lt;br /&gt; openapi: 3.0.1&lt;br /&gt;
  components:&lt;br /&gt;    schemas:&lt;br /&gt;       Folder:&lt;br /&gt;        
   description: Contains all of the data for a folder in the Liferay
  document library.&lt;br /&gt;          properties:&lt;br /&gt;            
  name:&lt;br /&gt;                description: The folder name&lt;br /&gt;        
         type: string&lt;br /&gt;             folderId:&lt;br /&gt;              
   description: The folder ID.&lt;br /&gt;                type: string&lt;br /&gt;  
            description:&lt;br /&gt;                description: The folder
  description&lt;br /&gt;                type: string&lt;br /&gt;            
  documents:&lt;br /&gt;                description: A list of documents
  contained in this folder.&lt;br /&gt;                items:&lt;br /&gt;          
          $ref: '#/components/schemas/Document'&lt;br /&gt;              
   type: array&lt;br /&gt;             folders:&lt;br /&gt;              
   description: A list of sub-folders of this folder.&lt;br /&gt;            
     items:&lt;br /&gt;                   $ref:
  '#/components/schemas/Folder'&lt;br /&gt;                type: array&lt;br /&gt;  
            creator:&lt;br /&gt;                allOf:&lt;br /&gt;                -
   $ref: '#/components/schemas/Creator'&lt;br /&gt;              
   description: The folder's creator.&lt;br /&gt;                readOnly:
  true&lt;br /&gt;          type: object&lt;br /&gt;       Document:&lt;br /&gt;        
   description: A document in the document library&lt;br /&gt;        
   properties:&lt;br /&gt;             title:&lt;br /&gt;              
   description: The title of the document.&lt;br /&gt;                type:
  string&lt;br /&gt;             documentId:&lt;br /&gt;                description:
  The document ID.&lt;br /&gt;                type: string&lt;br /&gt;            
  description:&lt;br /&gt;                description: The document
  description&lt;br /&gt;                type: string&lt;br /&gt;            
  extension:&lt;br /&gt;                description: The file extension on the
  document&lt;br /&gt;                type: string&lt;br /&gt;            
  downloadUrl:&lt;br /&gt;                description: The URL for downloading
  the document&lt;br /&gt;                type: string&lt;br /&gt;            
  dateCreated:&lt;br /&gt;                description: The date the document
  was created.&lt;br /&gt;                format: date-time&lt;br /&gt;            
     readOnly: true&lt;br /&gt;                type: string&lt;br /&gt;            
  dateModified:&lt;br /&gt;                description: The date the document
  was last modified.&lt;br /&gt;                format: date-time&lt;br /&gt;      
           readOnly: true&lt;br /&gt;                type: string&lt;br /&gt;      
        creator:&lt;br /&gt;                allOf:&lt;br /&gt;                -
   $ref: '#/components/schemas/Creator'&lt;br /&gt;              
   description: The document's creator.&lt;br /&gt;                readOnly:
  true&lt;br /&gt;          type: object&lt;br /&gt;       Creator:&lt;br /&gt;        
   description: Represents the user account of the content's
  creator/author. Properties follow the
  [creator](https://schema.org/creator)&lt;br /&gt;            
  specification.&lt;br /&gt;          properties:&lt;br /&gt;            
  additionalName:&lt;br /&gt;                description: The author's
  additional name (e.g., middle name).&lt;br /&gt;                readOnly:
  true&lt;br /&gt;                type: string&lt;br /&gt;            
  familyName:&lt;br /&gt;                description: The author's
  surname.&lt;br /&gt;                readOnly: true&lt;br /&gt;              
   type: string&lt;br /&gt;             givenName:&lt;br /&gt;              
   description: The author's first name.&lt;br /&gt;                readOnly:
  true&lt;br /&gt;                type: string&lt;br /&gt;             id:&lt;br /&gt;    
             description: The author's ID.&lt;br /&gt;                format:
  int64&lt;br /&gt;                readOnly: true&lt;br /&gt;                type:
  integer&lt;br /&gt;             image:&lt;br /&gt;                description: A
  relative URL to the author's profile image.&lt;br /&gt;              
   format: uri&lt;br /&gt;                readOnly: true&lt;br /&gt;              
   type: string&lt;br /&gt;             name:&lt;br /&gt;              
   description: The author's full name.&lt;br /&gt;                readOnly:
  true&lt;br /&gt;                type: string&lt;br /&gt;            
  profileURL:&lt;br /&gt;                description: A relative URL to the
  author's user profile.&lt;br /&gt;                format: uri&lt;br /&gt;        
         readOnly: true&lt;br /&gt;                type: string&lt;br /&gt;        
   type: object&lt;br /&gt; paths:&lt;br /&gt;  
   /dl-service/folders/{folderId}:&lt;br /&gt;       get:&lt;br /&gt;        
   operationId: getFolder&lt;br /&gt;          tags:&lt;br /&gt;          -
  Folder&lt;br /&gt;          description: Retrieves the Folder via its
  ID.&lt;br /&gt;          parameters:&lt;br /&gt;          -  name: folderId&lt;br /&gt;
              in: path&lt;br /&gt;             required: true&lt;br /&gt;          
    schema:&lt;br /&gt;                type: string&lt;br /&gt;        
   responses:&lt;br /&gt;             200:&lt;br /&gt;                description:
  ''&lt;br /&gt;                content:&lt;br /&gt;                  
  application/json:&lt;br /&gt;                      schema:&lt;br /&gt;            
              $ref: '#/components/schemas/Folder'&lt;br /&gt;                
    application/xml:&lt;br /&gt;                      schema:&lt;br /&gt;          
                $ref: '#/components/schemas/Folder'&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;But when I try http://localhost:8080/o/v1.0/dl-service/folders/43741
  in my browser I get a 404 error.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So I'm trying to figure out what the correct URL is. Any help would
  be greatly appreciated.&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/d/guest/screen-shot-2022-08-16-at-4-57-21-pm-png?imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2022-08-16T20:58:36Z</dc:date>
  </entry>
</feed>
