question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request for object relation

See original GitHub issue

Hi @jakewmeyer, was just wondering, would it be possible to query capsule parts and core parts via capsule id as well? That’d be very useful for connecting all together!

So instead of querying the api with this: https://api.spacexdata.com/v2/parts/caps?type=Dragon 1.1

We could query like this, returning an array of caps or cores for this main type: https://api.spacexdata.com/v2/parts/caps/dragon1 https://api.spacexdata.com/v2/parts/cores/dragon1

Or, instead of the above, send a small array of subtypes in the response object: https://api.spacexdata.com/v2/capsules/dragon1 returns:

{
    "id": "dragon1",
    "caps": ["Dragon 1.0", "Dragon 1.1", ...],
    "cores": ["B0004", "B0005", ...],
    ...
}

I’d appreciate the effort!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jeroenboumanscommented, Feb 2, 2018

Whoops, I wasn’t aware about the cores entity and what it meant in the context of the rocket. I know now that it’s all about the 1st stage? Since these aren’t necessarily linked to a specific type of rocket but more to a build, the cores endpoint I specified above can be ignored. Sorry 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create service object relations - Dynamics 365 - Microsoft Learn
This article describes how to create service object relations for a service agreement and a service order.
Read more >
Create a Related Object Relationship Between Service ...
A related object subtab lists records from one object that's related to another object. Using Application Composer, you can create one-to-many relationships ......
Read more >
Object Relationships Overview - Salesforce Help
Create relationships to link objects with each other, so that when your users view records, they can also see related data. For example,...
Read more >
Object Relations Therapy - Zencare
The aim of Object Relations Therapy is to better understand the way that you engage with the world through an understanding of your...
Read more >
Understanding Object-Relational Mapping - AltexSoft
Once written, the ORM mapping will manage the application's data needs and you will not need to write any more low-level code. How...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found