Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. API returns

API returns

Added by Julio C R Rocha about 5 years ago

Which API returns the 'subproject of' field for all existing projects?


Replies (3)

RE: API returns - Added by Johan Bouduin almost 5 years ago

api/v3/projects

The HalResource for every Project returned has a parent link.

HalResource {
  _uri: URI { uri: '/api/v3/projects/28', templated: false, fetchedURI: '' },
  links: {
    categories: HalResource {
      ...
    },
    delete: [Circular],
    schema: HalResource {
      ...
    },
    parent: HalResource {
      _uri: [URI],
      links: [Object],
      props: [Object],
      isLoaded: true,
      settedProps: [Array],
      settedLinks: [],
      initEnded: true,
      restClient: [HalRestClient]
    }
  },
  props: {
    ...
  }
  ...
]

RE: RE: API returns - Added by Julio C R Rocha almost 5 years ago

Which API returns the 'subproject of' field for all existing projects?

I need the field - subproject of

Please**.**

Julio

RE: RE: RE: API returns - Added by Julio C R Rocha almost 5 years ago

OK.

In version 7 don't work. Tks.

  • (1 - 3/3)
Loading...