►
From YouTube: DataHub + OpenAPI Improvements
Description
Ryan Holstien (Acryl Data) shares details about how we're making it easier for developers to interface with DataHub via OpenAPI during the April 2022 Town Hall.
Learn more about DataHub: https://datahubproject.io
Join us on Slack: http://slack.datahubproject.io
Follow us on Twitter: https://twitter.com/datahubproject
A
So,
let's
go
on
over
to
mr
ryan,
we'll
be
talking
about
open
api
updates
today,
our
rest
endpoints
are
primarily
using
the
wrestling
framework
which
creates
you
know,
endpoints
that
are
more
in
line
with
what
linkedin's
standards
are
internally
and
have
not
really
seen
a
super
wide
adoption
throughout
the
rest
of
the
open
source
community.
A
So
with
the
goal
with
open
api
is
to
make
it
a
lot
easier
to
integrate
with
restful
endpoints
through
other
languages
frameworks,
and
you
know,
programming
in
the
way
that
you
want
to,
rather
than
just
our
limited
set
of
sdks
and
what
we
can
support
right.
So
with
the
wrestling
models,
it
goes
from
average
schemas
to
our
you
know,
kafka
format
and
our
our
sdks
that
we
support,
but
with
an
open
api
spec.
A
So
with
this
initial
set
of
work,
where
we
have
implemented
the
entities
post
get
and
delete.
So
this
mimics
the
ingestion
and
getting
and
deletion
apis
that
we
currently
have,
and
that
uses
a
slightly
easier
model
to
understand
and
use,
then
like
a
raw
metadata
change
proposal,
all
right.
If
I
can
share
screen
I'll,
go
into
the
swagger
ui.
A
So
basically,
what
you
get
here
is
all
of
the
schemas
that
we
have
internally.
These
are
processed
from
pdl
and
translated
over
into
json
schemas,
and
these
are-
and
we
also
have
generated
java
models
that
we
use
in
our
java
sdk
and
in
inside
data
hub
itself.
A
So,
for
example,
for
the
post
endpoint,
you
can
go
in
and
see.
A
Example
values
and
you
know
it
gives
you
all
of
the
information
you
would
need
to
construct
a
request
just
in
this
ui
directly.
So
one
thing,
you'll
notice
is
this
underscore
underscore
type
so
for
anything
that
exists
in
a
union
type,
we
have
to
specify
what
the
class
is.
This
is
because
not
all
classes
have
you
know
completely
unique
properties.
A
So
with
json,
it's
just
you
know
raw
json,
you,
you
don't
have
your
your
class
types
and
what
have
you
so
you
have
to
know
what
is
actually
being
sent
across
so
that
we
can
translate
it
but
yeah.
So
there's
lots
of
these
to
explore.
I
won't
go
through
everything,
but
you
can
see
that
this
will
enable
you
to
create
a
request
to
actually
ingest
or
and
and
know
what
you're
getting
back.
A
So
I'm
just
going
to
run
through
a
quick
example.
So
this
is
a
ingestion
example
for
this
urn
and
I'm
sending
in
a
schema
metadata
aspect.
A
A
A
And
this
all
lines
up
with
what
got
sent
in
and
then
we
can
also
do
a
delete
of
that
same
urn,
and
so
this
supports
both
soft
and
hard
deletes,
we'll
go
ahead
and
do
a
hard
delete
and
completely
remove
it.
A
So
this
pr
is
open,
it's
currently
under
review
and
it's
going
to
get
put
out
and
not
this
release,
but
the
the
next
one.
A
A
You
know,
comments
back
and
know
how
people
want
to
use
this
and
really
fine
tune
this
and
get
it
working.
So
please
play
with
it.
Let
us
know
what
you
think
and
get
back
to
us
and
and
let
us
know
how
we
can
improve
it-
all
right.
Everybody
thanks!
So
much
ryan.