Get endpoint implementation

This is some sneaked brace :-)