def get_record_ref(recid, endpoint='<STR_LIT>'):
if recid is None:<EOL><INDENT>return None<EOL><DEDENT>return {'<STR_LIT>': absolute_url(u'<STR_LIT>'.format(endpoint, recid))}<EOL>
Create record jsonref reference object from recid.

    None recids will return a None object.
    Valid recids will return an object in the form of: {'$ref': url_for_record}